forked from OSchip/llvm-project
parent
6608f07a79
commit
cdc55bc680
|
@ -0,0 +1,12 @@
|
|||
// RUN: %llvmgcc -fno-exceptions %s -S -emit-llvm -o - | FileCheck %s
|
||||
struct Foo
|
||||
{
|
||||
int x;
|
||||
Foo ();
|
||||
};
|
||||
Foo *test(void)
|
||||
{
|
||||
return new Foo();
|
||||
// There should be no references to any Unwinding routines under -fno-exceptions.
|
||||
// CHECK-NOT: Unwind
|
||||
}
|
Loading…
Reference in New Issue