aboutsummaryrefslogtreecommitdiff
path: root/test/FrontendC/2009-08-11-AsmBlocksComplexJumpTarget.c
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@FreeBSD.org>2009-10-14 17:57:32 +0000
committerRoman Divacky <rdivacky@FreeBSD.org>2009-10-14 17:57:32 +0000
commit59850d0874429601812bc13408cb1f776649027c (patch)
treeb21f6de4e08b89bb7931806bab798fc2a5e3a686 /test/FrontendC/2009-08-11-AsmBlocksComplexJumpTarget.c
parent18f153bdb9db52e7089a2d5293b96c45a3124a26 (diff)
Diffstat (limited to 'test/FrontendC/2009-08-11-AsmBlocksComplexJumpTarget.c')
-rw-r--r--test/FrontendC/2009-08-11-AsmBlocksComplexJumpTarget.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/FrontendC/2009-08-11-AsmBlocksComplexJumpTarget.c b/test/FrontendC/2009-08-11-AsmBlocksComplexJumpTarget.c
new file mode 100644
index 000000000000..e141c9a16c80
--- /dev/null
+++ b/test/FrontendC/2009-08-11-AsmBlocksComplexJumpTarget.c
@@ -0,0 +1,10 @@
+// RUN: %llvmgcc %s -fasm-blocks -S -o - | grep {\\\*1192}
+// Complicated expression as jump target
+// XFAIL: *
+// XTARGET: x86,i386,i686
+
+asm void Method3()
+{
+ mov eax,[esp+4]
+ jmp [eax+(299-1)*4]
+}