Dan Gohman | fea1dd0 | 2009-08-25 15:38:29 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as %s -o /dev/null |
Duncan P. N. Exon Smith | 13f5c58 | 2014-08-19 21:08:27 +0000 | [diff] [blame] | 2 | ; RUN: verify-uselistorder %s |
Chris Lattner | b1f92f8 | 2003-04-25 20:09:17 +0000 | [diff] [blame] | 3 | ; There should be absolutely no problem with this testcase. |
| 4 | |
Tanya Lattner | 6e9bcee | 2008-02-14 07:57:12 +0000 | [diff] [blame] | 5 | define i32 @test(i32 %arg1, i32 %arg2) { |
| 6 | ret i32 ptrtoint (i32 (i32, i32)* @test to i32) |
Chris Lattner | b1f92f8 | 2003-04-25 20:09:17 +0000 | [diff] [blame] | 7 | } |
Tanya Lattner | 6e9bcee | 2008-02-14 07:57:12 +0000 | [diff] [blame] | 8 | |