1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00

Test case for r117075. Radar 6635085.

llvm-svn: 117079
This commit is contained in:
Stuart Hastings 2010-10-21 22:43:32 +00:00
parent bba3b2050e
commit c6b2d77375

View File

@ -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
}