Simplify test case: remove declaration of __main() and call to it.
authorMisha Brukman <brukman+llvm@gmail.com>
Fri, 6 Jun 2003 06:50:43 +0000 (06:50 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Fri, 6 Jun 2003 06:50:43 +0000 (06:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6648 91177308-0d34-0410-b5e6-96231b3b80d8

test/ExecutionEngine/2003-01-04-ArgumentBug.ll

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