llvm/test/FrontendC++/alignstack.cpp
Bill Wendling 81dc7861a4 This is passing on Darwin PPC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84921 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-23 01:37:01 +00:00

24 lines
337 B
C++

// RUN: %llvmgxx %s -fasm-blocks -S -o - | FileCheck %s
// Complicated expression as jump target
// XFAIL: *
// XTARGET: x86,i386,i686,darwin
void Method3()
{
// CHECK: Method3
// CHECK-NOT: alignstack
asm("foo:");
// CHECK: return
}
void Method4()
{
// CHECK: Method4
// CHECK: alignstack
asm {
bar:
}
// CHECK: return
}