blob: 608eb6ae343c78a142a46988b59d2b40170cf224 [file] [log] [blame]
Gabor Greif5edf2102008-05-20 22:07:21 +00001; RUN: llvm-as %s -o /dev/null -f
Chris Lattnerb1f92f82003-04-25 20:09:17 +00002; There should be absolutely no problem with this testcase.
3
Tanya Lattner6e9bcee2008-02-14 07:57:12 +00004define i32 @test(i32 %arg1, i32 %arg2) {
5 ret i32 ptrtoint (i32 (i32, i32)* @test to i32)
Chris Lattnerb1f92f82003-04-25 20:09:17 +00006}
Tanya Lattner6e9bcee2008-02-14 07:57:12 +00007