forked from OSchip/llvm-project
Make sure this test doesn't break when we disallow throwing an exception
in -fno-exceptions mode. llvm-svn: 105432
This commit is contained in:
parent
b30b81edb6
commit
cd70980c8e
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clang_cc1 %s -emit-llvm-only -verify
|
||||
// RUN: %clang_cc1 %s -emit-llvm -o - -fexceptions | FileCheck %s
|
||||
// PR7281
|
||||
|
||||
class A {
|
||||
|
@ -11,4 +11,3 @@ class B : public A {
|
|||
void B::ice_throw() {
|
||||
throw *this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue