brintos

brintos / llvm-project-archived public Read only

0
0
Text · 298 B · 532fd6e Raw
13 lines · c
1#ifdef USE_PRAGMA2#pragma clang diagnostic push3#if USE_PRAGMA == 14#pragma clang diagnostic warning "-Wshorten-64-to-32"5#else6#pragma clang diagnostic error "-Wshorten-64-to-32"7#endif8#endif9template <class T> int convert(T V) { return V; }10#ifdef USE_PRAGMA11#pragma clang diagnostic pop12#endif13