blob: 663acbbb2277777afd4381d58f263067025f743c [file] [log] [blame]
Tanya Lattner6e9bcee2008-02-14 07:57:12 +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