llvm-6502/test/FrontendC/2009-08-11-AsmBlocksComplexJumpTarget.c
Dale Johannesen 428473bf21 Test for llvm-gcc patch 78762.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78763 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-12 01:14:30 +00:00

11 lines
221 B
C

// 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]
}