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

9 lines
213 B
C++

#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