aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/ms-exception-spec.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2008-12-01 18:00:20 +0000
committerDouglas Gregor <dgregor@apple.com>2008-12-01 18:00:20 +0000
commita4745616ebe36ba7699f18618382e764aa8183a1 (patch)
tree8435d75235d32f7baa3052d95f4176cc495a514c /test/SemaCXX/ms-exception-spec.cpp
parentac72d40340ce3eb6ffa932ede41631d666084fec (diff)
Parse the exception-specification throw(...), a Microsoft extension
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60359 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/ms-exception-spec.cpp')
-rw-r--r--test/SemaCXX/ms-exception-spec.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/SemaCXX/ms-exception-spec.cpp b/test/SemaCXX/ms-exception-spec.cpp
new file mode 100644
index 0000000000..ec4e29a89f
--- /dev/null
+++ b/test/SemaCXX/ms-exception-spec.cpp
@@ -0,0 +1,3 @@
+// RUN: clang %s -fsyntax-only -verify -fms-extensions
+
+void f() throw(...) { }