From 7d977a3e80455013541f704b94944d9090e96e06 Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Wed, 21 Oct 2009 23:29:12 +0000 Subject: Adjust testcases for msasm -> alignstack. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84796 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/FrontendC++/alignstack.cpp | 23 +++++++++++++++++++++++ test/FrontendC++/msasm.cpp | 23 ----------------------- 2 files changed, 23 insertions(+), 23 deletions(-) create mode 100644 test/FrontendC++/alignstack.cpp delete mode 100644 test/FrontendC++/msasm.cpp (limited to 'test/FrontendC++') diff --git a/test/FrontendC++/alignstack.cpp b/test/FrontendC++/alignstack.cpp new file mode 100644 index 0000000000..5438d6c324 --- /dev/null +++ b/test/FrontendC++/alignstack.cpp @@ -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 +} + diff --git a/test/FrontendC++/msasm.cpp b/test/FrontendC++/msasm.cpp deleted file mode 100644 index d8d1f37861..0000000000 --- a/test/FrontendC++/msasm.cpp +++ /dev/null @@ -1,23 +0,0 @@ -// 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: msasm - asm("foo:"); -// CHECK: return -} - -void Method4() -{ -// CHECK: Method4 -// CHECK: msasm - asm { - bar: - } -// CHECK: return -} - -- cgit v1.2.3