summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/static-assert.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenCXX/static-assert.cpp')
-rw-r--r--test/CodeGenCXX/static-assert.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGenCXX/static-assert.cpp b/test/CodeGenCXX/static-assert.cpp
new file mode 100644
index 0000000..7757acd
--- /dev/null
+++ b/test/CodeGenCXX/static-assert.cpp
@@ -0,0 +1,3 @@
+// RUN: clang-cc %s -emit-llvm -o - -std=c++0x
+
+static_assert(true, "");
OpenPOWER on IntegriCloud