blob: 0ea13a2ad2e84b4e7bad4b16667a1ba6d3dbc2eb [file] [log] [blame]
Chris Lattner5bee46d2007-04-28 06:05:59 +00001; RUN: llvm-as < %s | llc
2
3; Test that we can have an "X" output constraint.
4
5define void @test(i16 * %t) {
Chris Lattner15c92862007-04-28 06:07:55 +00006 call void asm sideeffect "foo $0", "=*X,~{dirflag},~{fpsr},~{flags},~{memory}"( i16* %t )
Chris Lattner5bee46d2007-04-28 06:05:59 +00007 ret void
8}