mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-27 12:26:08 +00:00
Test case for r117075. Radar 6635085.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117079 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
12
test/FrontendObjC++/2010-10-21-NoExceptions.mm
Normal file
12
test/FrontendObjC++/2010-10-21-NoExceptions.mm
Normal 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
|
||||||
|
}
|
Reference in New Issue
Block a user