blob: f1a5ed7b56b2ab1583785b5b18f9ce6cf148fd05 [file] [log] [blame]
Dan Gohman2d65d352009-08-25 15:38:29 +00001; RUN: llvm-as %s -o /dev/null
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002; There should be absolutely no problem with this testcase.
3
Tanya Lattner74bb9f52008-02-14 07:57:12 +00004define i32 @test(i32 %arg1, i32 %arg2) {
5 ret i32 ptrtoint (i32 (i32, i32)* @test to i32)
Dan Gohmanf17a25c2007-07-18 16:29:46 +00006}
Tanya Lattner74bb9f52008-02-14 07:57:12 +00007