summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/eh.cpp
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2011-05-19 05:13:44 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2011-05-19 05:13:44 +0000
commit623ea82a6bc65fd28fe84a27e27afb914ad6e5f8 (patch)
tree572a12ccfc6c7f6de8f44ecc5a8ca615d7f7d716 /clang/test/CodeGenCXX/eh.cpp
parent9eb5a410bdb633c356acdb349299ab38e2e44b08 (diff)
downloadbcm5719-llvm-623ea82a6bc65fd28fe84a27e27afb914ad6e5f8.tar.gz
bcm5719-llvm-623ea82a6bc65fd28fe84a27e27afb914ad6e5f8.zip
Reapply r121528, fixing PR9941 by delaying the exception specification check for destructors until the class is complete and destructors have been adjusted.
llvm-svn: 131632
Diffstat (limited to 'clang/test/CodeGenCXX/eh.cpp')
-rw-r--r--clang/test/CodeGenCXX/eh.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGenCXX/eh.cpp b/clang/test/CodeGenCXX/eh.cpp
index 6c44c761296..88c32724b84 100644
--- a/clang/test/CodeGenCXX/eh.cpp
+++ b/clang/test/CodeGenCXX/eh.cpp
@@ -159,7 +159,7 @@ namespace test8 {
// CHECK-NEXT: bitcast
// CHECK-NEXT: invoke void @_ZN5test81AC1ERKS0_(
// CHECK: call i8* @__cxa_begin_catch
- // CHECK-NEXT: invoke void @_ZN5test81AD1Ev(
+ // CHECK-NEXT: call void @_ZN5test81AD1Ev(
// CHECK: call void @__cxa_end_catch()
// CHECK: ret void
}
@@ -272,7 +272,7 @@ namespace test11 {
// PR7686
namespace test12 {
- struct A { ~A(); };
+ struct A { ~A() noexcept(false); };
bool opaque(const A&);
// CHECK: define void @_ZN6test124testEv()
@@ -392,8 +392,8 @@ namespace test15 {
}
namespace test16 {
- struct A { A(); ~A(); };
- struct B { int x; B(const A &); ~B(); };
+ struct A { A(); ~A() noexcept(false); };
+ struct B { int x; B(const A &); ~B() noexcept(false); };
void foo();
bool cond();
OpenPOWER on IntegriCloud