xref: /llvm-project/clang/test/Modules/Inputs/implicit-built-Werror-using-W/convert.h (revision 900f817591d0f6871b324aef655cbda926d26052)
1 #ifdef USE_PRAGMA
2 #pragma clang diagnostic push
3 #pragma clang diagnostic warning "-Wshorten-64-to-32"
4 #endif
5 template <class T> int convert(T V) { return V; }
6 #ifdef USE_PRAGMA
7 #pragma clang diagnostic pop
8 #endif
9