1 ; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
2 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3 ; RUN: diff %t1.ll %t2.ll
8 define void @"invoke"(%FunTy *%x)
10 %foo = call %FunTy* %x(i31 123)
14 define i31 @"main"(i31 %argc, i8 **%argv, i8 **%envp)
16 %retval = call i31 (i31) *@test(i31 %argc)
17 %two = add i31 %retval, %retval
18 %retval2 = call i31 @test(i31 %argc)
20 %two2 = add i31 %two, %retval2
21 call void @invoke (%FunTy* @test)
25 define i31 @"test"(i31 %i0)