[llvm-branch-commits] [cfe-branch] r156702 - /cfe/branches/release_31/test/CXX/class/class.mem/p2.cpp

Bill Wendling isanbard at gmail.com
Fri May 11 23:58:31 PDT 2012


Author: void
Date: Sat May 12 01:58:31 2012
New Revision: 156702

URL: http://llvm.org/viewvc/llvm-project?rev=156702&view=rev
Log:
Bah...

Modified:
    cfe/branches/release_31/test/CXX/class/class.mem/p2.cpp

Modified: cfe/branches/release_31/test/CXX/class/class.mem/p2.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_31/test/CXX/class/class.mem/p2.cpp?rev=156702&r1=156701&r2=156702&view=diff
==============================================================================
--- cfe/branches/release_31/test/CXX/class/class.mem/p2.cpp (original)
+++ cfe/branches/release_31/test/CXX/class/class.mem/p2.cpp Sat May 12 01:58:31 2012
@@ -56,20 +56,3 @@
 
   template struct A2<int>;
 }
-
-namespace PR12629 {
-  struct S {
-    static int (f)() throw();
-    static int ((((((g))))() throw(U)));
-    int (*h)() noexcept(false);
-    static int (&i)() noexcept(true);
-    static int (*j)() throw(U); // expected-error {{type name}} \
-    // expected-error {{expected ')'}} expected-note {{to match}}
-
-    struct U {};
-  };
-  static_assert(noexcept(S::f()), "");
-  static_assert(!noexcept(S::g()), "");
-  static_assert(!noexcept(S().h()), "");
-  static_assert(noexcept(S::i()), "");
-}





More information about the llvm-branch-commits mailing list