Test for llvm-gcc patch 78762.
authorDale Johannesen <dalej@apple.com>
Wed, 12 Aug 2009 01:14:30 +0000 (01:14 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 12 Aug 2009 01:14:30 +0000 (01:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78763 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendC/2009-08-11-AsmBlocksComplexJumpTarget.c [new file with mode: 0644]

diff --git a/test/FrontendC/2009-08-11-AsmBlocksComplexJumpTarget.c b/test/FrontendC/2009-08-11-AsmBlocksComplexJumpTarget.c
new file mode 100644 (file)
index 0000000..1a801f9
--- /dev/null
@@ -0,0 +1,10 @@
+// RUN: %llvmgcc %s -fasm-blocks -S -o - | grep {\\\*1192}
+// Complicated expression as jump target
+// XFAIL: *
+// XTARGET: darwin
+
+asm void Method3()
+{
+    mov   eax,[esp+4]           
+    jmp   [eax+(299-1)*4]       
+}