summaryrefslogtreecommitdiffstats
path: root/test/CXX/class/class.mem/p2.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-05-12 06:58:31 +0000
committerBill Wendling <isanbard@gmail.com>2012-05-12 06:58:31 +0000
commit0084b82c0ed86bc4ace651059349cfb28565335e (patch)
tree3feccefe98fa22a611871247ebe5e79390e35165 /test/CXX/class/class.mem/p2.cpp
parent85f02c651a9d9af4beea7d5ec6e17d55acda4f51 (diff)
Bah...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_31@156702 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CXX/class/class.mem/p2.cpp')
-rw-r--r--test/CXX/class/class.mem/p2.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/CXX/class/class.mem/p2.cpp b/test/CXX/class/class.mem/p2.cpp
index bf7b3d49c9..4aa4a5c6f1 100644
--- a/test/CXX/class/class.mem/p2.cpp
+++ b/test/CXX/class/class.mem/p2.cpp
@@ -56,20 +56,3 @@ namespace test3 {
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()), "");
-}