[cfe-commits] r84345 - /cfe/trunk/test/SemaCXX/exception-spec.cpp

Sebastian Redl sebastian.redl at getdesigned.at
Sat Oct 17 11:31:06 PDT 2009


Author: cornedbee
Date: Sat Oct 17 13:31:05 2009
New Revision: 84345

URL: http://llvm.org/viewvc/llvm-project?rev=84345&view=rev
Log:
Add a DR437 testcase, but disable it for now, since it fails.

Modified:
    cfe/trunk/test/SemaCXX/exception-spec.cpp

Modified: cfe/trunk/test/SemaCXX/exception-spec.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/exception-spec.cpp?rev=84345&r1=84344&r2=84345&view=diff

==============================================================================
--- cfe/trunk/test/SemaCXX/exception-spec.cpp (original)
+++ cfe/trunk/test/SemaCXX/exception-spec.cpp Sat Oct 17 13:31:05 2009
@@ -185,3 +185,6 @@
 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); };





More information about the cfe-commits mailing list