blob: 663acbbb2277777afd4381d58f263067025f743c [file] [log] [blame]
Tanya Lattner74bb9f52008-02-14 07:57:12 +00001; RUN: llvm-as < %s -o /dev/null -f
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