mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
Adjust testcases for msasm -> alignstack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84796 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
23
test/FrontendC++/alignstack.cpp
Normal file
23
test/FrontendC++/alignstack.cpp
Normal file
@ -0,0 +1,23 @@
|
||||
// RUN: %llvmgxx %s -fasm-blocks -S -o - | FileCheck %s
|
||||
// Complicated expression as jump target
|
||||
// XFAIL: *
|
||||
// XTARGET: x86,i386,i686
|
||||
|
||||
void Method3()
|
||||
{
|
||||
// CHECK: Method3
|
||||
// CHECK-NOT: alignstack
|
||||
asm("foo:");
|
||||
// CHECK: return
|
||||
}
|
||||
|
||||
void Method4()
|
||||
{
|
||||
// CHECK: Method4
|
||||
// CHECK: alignstack
|
||||
asm {
|
||||
bar:
|
||||
}
|
||||
// CHECK: return
|
||||
}
|
||||
|
Reference in New Issue
Block a user