blob: 61fd911d8a173f208a159e8bb529b5a559c86fca [file] [log] [blame]
Dan Gohmanfea1dd02009-08-25 15:38:29 +00001; RUN: llvm-as %s -o /dev/null
Duncan P. N. Exon Smith13f5c582014-08-19 21:08:27 +00002; RUN: verify-uselistorder %s
Chris Lattnerb1f92f82003-04-25 20:09:17 +00003; There should be absolutely no problem with this testcase.
4
Tanya Lattner6e9bcee2008-02-14 07:57:12 +00005define i32 @test(i32 %arg1, i32 %arg2) {
6 ret i32 ptrtoint (i32 (i32, i32)* @test to i32)
Chris Lattnerb1f92f82003-04-25 20:09:17 +00007}
Tanya Lattner6e9bcee2008-02-14 07:57:12 +00008