diff options
Diffstat (limited to 'clang/test/PCH/cxx-traits.cpp')
-rw-r--r-- | clang/test/PCH/cxx-traits.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/clang/test/PCH/cxx-traits.cpp b/clang/test/PCH/cxx-traits.cpp index ffdfccc6f47..42656a3ad5f 100644 --- a/clang/test/PCH/cxx-traits.cpp +++ b/clang/test/PCH/cxx-traits.cpp @@ -8,8 +8,12 @@ // expected-no-diagnostics #endif -bool _Is_pod_comparator = __is_pod<int>::__value; -bool _Is_empty_check = __is_empty<int>::__value; +bool _Is_pod_comparator = n::__is_pod<int>::__value; +bool _Is_empty_check = n::__is_empty<int>::__value; -bool default_construct_int = is_trivially_constructible<int>::value; -bool copy_construct_int = is_trivially_constructible<int, const int&>::value; +bool default_construct_int = n::is_trivially_constructible<int>::value; +bool copy_construct_int = n::is_trivially_constructible<int, const int&>::value; + +// The built-ins should still work too: +bool _is_pod_result = __is_pod(int); +bool _is_empty_result = __is_empty(int); |