diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2011-05-18 05:20:56 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2011-05-18 05:20:56 +0000 |
commit | b900f04ccc400c8c9dd6e03a447c2df9bfc26cfd (patch) | |
tree | d91217099fa0b2a8c74a719b4a4059d895092652 /clang/test/CodeGenCXX/eh.cpp | |
parent | 8c0ee2151786750368ee65dc4dd1f602708452e9 (diff) | |
download | bcm5719-llvm-b900f04ccc400c8c9dd6e03a447c2df9bfc26cfd.tar.gz bcm5719-llvm-b900f04ccc400c8c9dd6e03a447c2df9bfc26cfd.zip |
Implement implicit exception specifications of destructors.
llvm-svn: 131528
Diffstat (limited to 'clang/test/CodeGenCXX/eh.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/eh.cpp | 8 |
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(); |