llvm-for-llvmta/tools/clang/test/Modules/Inputs/implicit-built-Werror-using-W/convert.h

9 lines
213 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
#ifdef USE_PRAGMA
#pragma clang diagnostic push
#pragma clang diagnostic warning "-Wshorten-64-to-32"
#endif
template <class T> int convert(T V) { return V; }
#ifdef USE_PRAGMA
#pragma clang diagnostic pop
#endif