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