Gabor Greif | afb4e8c | 2008-05-20 22:07:21 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as %s -o /dev/null -f |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 2 | ; There should be absolutely no problem with this testcase. |
3 | |||||
Tanya Lattner | 74bb9f5 | 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) | ||||
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 6 | } |
Tanya Lattner | 74bb9f5 | 2008-02-14 07:57:12 +0000 | [diff] [blame] | 7 |