blob: fdb4657c672c886160c67afbae688c2e3495bebe [file] [log] [blame]
Reid Spencer6e87ec42007-04-16 17:36:08 +00001; RUN: llvm-upgrade %s -o - | llvm-as -o /dev/null -f
Duncan Sandsb063fa52007-07-23 15:23:35 +00002; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > t1.ll
3; RUN: llvm-as t1.ll -o - | llvm-dis > t2.ll
4; RUN: diff t1.ll t2.ll
Chris Lattner243f7292006-01-23 23:24:13 +00005
6
Chris Lattnera1280ad2006-01-24 00:37:20 +00007module asm "this is an inline asm block"
8module asm "this is another inline asm block"
Chris Lattner243f7292006-01-23 23:24:13 +00009
Chris Lattner3ccaf6e2006-01-25 23:49:54 +000010int %test() {
11 %X = call int asm "tricky here $0, $1", "=r,r"(int 4)
12 call void asm sideeffect "eieio", ""()
13 ret int %X
14}