aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2009-10-17 18:31:05 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2009-10-17 18:31:05 +0000
commite38050d47dc673b7edf1e4b4d2e3c822293a8cba (patch)
tree422820334010a439abb2b49b3ac0c8f17d313af3
parent76b61ccc603fad1c631948bf1e49f31343de76e9 (diff)
Add a DR437 testcase, but disable it for now, since it fails.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84345 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/SemaCXX/exception-spec.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/SemaCXX/exception-spec.cpp b/test/SemaCXX/exception-spec.cpp
index 9b2a07d796..56cc435f7d 100644
--- a/test/SemaCXX/exception-spec.cpp
+++ b/test/SemaCXX/exception-spec.cpp
@@ -185,3 +185,6 @@ void mfnptr()
template <typename T> struct TEx; // expected-note {{template is declared here}}
void tf() throw(TEx<int>); // expected-error {{implicit instantiation of undefined template}}
+
+// DR 437, class throws itself. FIXME: See Sema::CheckSpecifiedExceptionType.
+//struct DR437 { void f() throw(DR437); };