]> granicus.if.org Git - clang/commitdiff
Add a DR437 testcase, but disable it for now, since it fails.
authorSebastian Redl <sebastian.redl@getdesigned.at>
Sat, 17 Oct 2009 18:31:05 +0000 (18:31 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Sat, 17 Oct 2009 18:31:05 +0000 (18:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84345 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/exception-spec.cpp

index 9b2a07d796543f368ec2ee27f344f156425f5920..56cc435f7db3aedca1c1cb170be137128eda67fc 100644 (file)
@@ -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); };