summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/eh.cpp
diff options
context:
space:
mode:
authorAlexis Hunt <alercah@gmail.com>2011-05-18 20:57:11 +0000
committerAlexis Hunt <alercah@gmail.com>2011-05-18 20:57:11 +0000
commitd0cdd1fab1ea27927aed0f2be8fc703c93decfad (patch)
tree36ba4dbc31334009090a5d67377e069178710d02 /clang/test/CodeGenCXX/eh.cpp
parent77e0610d7c88a8d096a24e2a76fd78a17e32dc80 (diff)
downloadbcm5719-llvm-d0cdd1fab1ea27927aed0f2be8fc703c93decfad.tar.gz
bcm5719-llvm-d0cdd1fab1ea27927aed0f2be8fc703c93decfad.zip
Revert r121528 as it breaks a simple testcase, which leads to, among
other things, libcxx not building. llvm-svn: 131573
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 88c32724b84..6c44c761296 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: call void @_ZN5test81AD1Ev(
+ // CHECK-NEXT: invoke void @_ZN5test81AD1Ev(
// CHECK: call void @__cxa_end_catch()
// CHECK: ret void
}
@@ -272,7 +272,7 @@ namespace test11 {
// PR7686
namespace test12 {
- struct A { ~A() noexcept(false); };
+ struct A { ~A(); };
bool opaque(const A&);
// CHECK: define void @_ZN6test124testEv()
@@ -392,8 +392,8 @@ namespace test15 {
}
namespace test16 {
- struct A { A(); ~A() noexcept(false); };
- struct B { int x; B(const A &); ~B() noexcept(false); };
+ struct A { A(); ~A(); };
+ struct B { int x; B(const A &); ~B(); };
void foo();
bool cond();
OpenPOWER on IntegriCloud