summaryrefslogtreecommitdiff
path: root/clang/test/Lexer/cxx0x_keyword.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Lexer/cxx0x_keyword.cpp')
-rw-r--r--clang/test/Lexer/cxx0x_keyword.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Lexer/cxx0x_keyword.cpp b/clang/test/Lexer/cxx0x_keyword.cpp
new file mode 100644
index 0000000..e6841ef
--- /dev/null
+++ b/clang/test/Lexer/cxx0x_keyword.cpp
@@ -0,0 +1,2 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s 2>&1
+int static_assert; /* expected-error {{expected unqualified-id}} */