summaryrefslogtreecommitdiff
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
commitbe4234a9e94f81660369a6c5eba8f005dce36537 (patch)
tree0db09ae99224a2c7926a296785049ae6ce0b0639
parent29b801f435eb9523db623addb0e27c21c31dfaab (diff)
downloadllvm-be4234a9e94f81660369a6c5eba8f005dce36537.tar.gz
Bah...
llvm-svn: 156702
-rw-r--r--clang/test/CXX/class/class.mem/p2.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/clang/test/CXX/class/class.mem/p2.cpp b/clang/test/CXX/class/class.mem/p2.cpp
index bf7b3d49c95e..4aa4a5c6f1b7 100644
--- a/clang/test/CXX/class/class.mem/p2.cpp
+++ b/clang/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()), "");
-}