Silence -Wunused-variable in release builds.
[llvm/stm8.git] / test / FrontendC++ / alignstack.cpp
blob4f993d669bfac8fcaab8f86a137a9551777b187f
1 // RUN: %llvmgxx %s -fasm-blocks -S -o - | FileCheck %s
2 // Complicated expression as jump target
3 // XFAIL: *
4 // XTARGET: x86,i386,i686,darwin
6 void Method3()
8 // CHECK: Method3
9 // CHECK-NOT: alignstack
10 asm("foo:");
11 // CHECK: return
14 void Method4()
16 // CHECK: Method4
17 // CHECK: alignstack
18 asm {
19 bar:
21 // CHECK: return