diff options
Diffstat (limited to 'clang/test/CodeGenCXX/static-assert.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/static-assert.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/static-assert.cpp b/clang/test/CodeGenCXX/static-assert.cpp new file mode 100644 index 0000000..53dc9a7 --- /dev/null +++ b/clang/test/CodeGenCXX/static-assert.cpp @@ -0,0 +1,7 @@ +// RUN: %clang_cc1 %s -emit-llvm -o - -std=c++11 -verify + +static_assert(true, ""); + +void f() { + static_assert(true, ""); +} |