summaryrefslogtreecommitdiffstats
path: root/test/FrontendC/alignstack.c
blob: 30c00ff88e44eb47578b7911992833eee8d086c7 (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: %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
}

OpenPOWER on IntegriCloud