Less incorrect handling of zero-length bitfields. Radars 7992077 and 8093043.
[oota-llvm.git] / test / FrontendC++ / alignstack.cpp
1 // RUN: %llvmgxx %s -fasm-blocks -S -o - | FileCheck %s
2 // Complicated expression as jump target
3 // XFAIL: *
4 // XTARGET: x86,i386,i686,darwin
5
6 void Method3()
7 {
8 // CHECK: Method3
9 // CHECK-NOT: alignstack
10     asm("foo:");
11 // CHECK: return
12 }
13
14 void Method4()
15 {
16 // CHECK: Method4
17 // CHECK: alignstack
18   asm {
19     bar:
20   }
21 // CHECK: return
22 }
23