summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/exception-spec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaCXX/exception-spec.cpp')
-rw-r--r--clang/test/SemaCXX/exception-spec.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/exception-spec.cpp b/clang/test/SemaCXX/exception-spec.cpp
index cf7089cc7cc..bd22bf3ddd9 100644
--- a/clang/test/SemaCXX/exception-spec.cpp
+++ b/clang/test/SemaCXX/exception-spec.cpp
@@ -62,6 +62,10 @@ void r7() throw(float); // expected-error {{exception specification in declarati
void r8() throw(int);
void r8() throw(const int);
+// Multiple appearances don't matter.
+void r9() throw(int, int);
+void r9() throw(int, int);
+
struct A
{
};
OpenPOWER on IntegriCloud