1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/FrontendC/alignstack.c
Dale Johannesen 59fd73831e Adjust testcases for msasm -> alignstack.
llvm-svn: 84796
2009-10-21 23:29:12 +00:00

24 lines
337 B
C

// RUN: %llvmgcc %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
}