From 9643cca39fb9fb3b49a8912926de98acf882283c Mon Sep 17 00:00:00 2001 From: rdivacky Date: Fri, 23 Oct 2009 14:19:52 +0000 Subject: Update LLVM to r84949. --- test/FrontendC/alignstack.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 test/FrontendC/alignstack.c (limited to 'test/FrontendC/alignstack.c') diff --git a/test/FrontendC/alignstack.c b/test/FrontendC/alignstack.c new file mode 100644 index 0000000..30c00ff --- /dev/null +++ b/test/FrontendC/alignstack.c @@ -0,0 +1,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 +} + -- cgit v1.1