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

Test case for r117075. Radar 6635085.
Test case for r117075.  Radar 6635085.

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@117079 91177308-0d34-0410-b5e6-96231b3b80d8
