diff options
Diffstat (limited to 'test/CodeGenCXX/type-traits.cpp')
-rw-r--r-- | test/CodeGenCXX/type-traits.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGenCXX/type-traits.cpp b/test/CodeGenCXX/type-traits.cpp new file mode 100644 index 000000000000..93cc6b56f1d2 --- /dev/null +++ b/test/CodeGenCXX/type-traits.cpp @@ -0,0 +1,6 @@ +// RUN: %clang_cc1 -emit-llvm-only -verify %s +// expected-no-diagnostics + +bool a() { return __is_pod(int); } + +bool b() { return __is_trivially_constructible(int, int, int); } |