aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC++/alignstack.cpp
blob: 4f993d669bfac8fcaab8f86a137a9551777b187f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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
}