Tanya Lattner | 6e9bcee | 2008-02-14 07:57:12 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s -o /dev/null -f |
Chris Lattner | b1f92f8 | 2003-04-25 20:09:17 +0000 | [diff] [blame] | 2 | ; There should be absolutely no problem with this testcase. |
3 | |||||
Tanya Lattner | 6e9bcee | 2008-02-14 07:57:12 +0000 | [diff] [blame] | 4 | define i32 @test(i32 %arg1, i32 %arg2) { |
5 | ret i32 ptrtoint (i32 (i32, i32)* @test to i32) | ||||
Chris Lattner | b1f92f8 | 2003-04-25 20:09:17 +0000 | [diff] [blame] | 6 | } |
Tanya Lattner | 6e9bcee | 2008-02-14 07:57:12 +0000 | [diff] [blame] | 7 |