Simplify test case: remove declaration of __main() and call to it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6648 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2003-06-06 06:50:43 +00:00
parent de07be3b78
commit c068bbcc5a

View File

@ -1,18 +1,13 @@
implementation ; Functions: implementation ; Functions:
declare void %__main()
int %foo(int %X, int %Y, double %A) { int %foo(int %X, int %Y, double %A) {
bb0: ; No predecessors!
%cond212 = setne double %A, 1.000000e+00 ; <bool> [#uses=1] %cond212 = setne double %A, 1.000000e+00 ; <bool> [#uses=1]
%cast110 = cast bool %cond212 to int ; <int> [#uses=1] %cast110 = cast bool %cond212 to int ; <int> [#uses=1]
ret int %cast110 ret int %cast110
} }
int %main() { int %main() {
bb0: ; No predecessors!
call void %__main( )
%reg212 = call int %foo( int 0, int 1, double 1.000000e+00 ) ; <int> [#uses=1] %reg212 = call int %foo( int 0, int 1, double 1.000000e+00 ) ; <int> [#uses=1]
ret int %reg212 ret int %reg212
} }