summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/cxx-throw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Parser/cxx-throw.cpp')
-rw-r--r--clang/test/Parser/cxx-throw.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Parser/cxx-throw.cpp b/clang/test/Parser/cxx-throw.cpp
index d63b6d4cae6..a1be710fb5c 100644
--- a/clang/test/Parser/cxx-throw.cpp
+++ b/clang/test/Parser/cxx-throw.cpp
@@ -13,3 +13,5 @@ void foo() {
__extension__ throw 1; // expected-error {{expected expression}}
(void)throw; // expected-error {{expected expression}}
}
+
+void f() throw(static); // expected-error {{expected a type}} expected-error {{does not allow storage class}}
OpenPOWER on IntegriCloud