Home | History | Annotate | Download | only in PCH
      1 // Header for PCH test cxx-traits.cpp
      2 
      3 template<typename _Tp>
      4 struct __is_pod { // expected-warning {{keyword '__is_pod' will be made available as an identifier for the remainder of the translation unit}}
      5   enum { __value };
      6 };
      7 
      8 template<typename _Tp>
      9 struct __is_empty { // expected-warning {{keyword '__is_empty' will be made available as an identifier for the remainder of the translation unit}}
     10   enum { __value };
     11 };
     12 
     13 template<typename T, typename ...Args>
     14 struct is_trivially_constructible {
     15   static const bool value = __is_trivially_constructible(T, Args...);
     16 };
     17