summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Parser/cxx-decl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Parser/cxx-decl.cpp b/clang/test/Parser/cxx-decl.cpp
index c60e42f28ee..a868904bb36 100644
--- a/clang/test/Parser/cxx-decl.cpp
+++ b/clang/test/Parser/cxx-decl.cpp
@@ -6,6 +6,8 @@ const char const *x10; // expected-error {{duplicate 'const' declaration specifi
int x(*g); // expected-error {{use of undeclared identifier 'g'}}
+private int cplusplus_is_not_opencl; // expected-error {{expected unqualified-id}}
+
struct Type {
int Type;
};
OpenPOWER on IntegriCloud