summaryrefslogtreecommitdiff
path: root/test/Transforms/SimplifyLibCalls/ExitInMain.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/SimplifyLibCalls/ExitInMain.ll')
-rw-r--r--test/Transforms/SimplifyLibCalls/ExitInMain.ll16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/Transforms/SimplifyLibCalls/ExitInMain.ll b/test/Transforms/SimplifyLibCalls/ExitInMain.ll
index 3fded2cc07..8abf3b1cc4 100644
--- a/test/Transforms/SimplifyLibCalls/ExitInMain.ll
+++ b/test/Transforms/SimplifyLibCalls/ExitInMain.ll
@@ -1,15 +1,15 @@
; Test that the ExitInMainOptimization pass works correctly
-; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \
+; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
; RUN: grep {ret i32 3} | count 1
; END.
-declare void %exit(int)
-declare void %exitonly(int)
+declare void @exit(i32)
-implementation ; Functions:
+declare void @exitonly(i32)
-int %main () {
- call void %exitonly ( int 3 )
- call void %exit ( int 3 )
- ret int 0
+define i32 @main() {
+ call void @exitonly( i32 3 )
+ call void @exit( i32 3 )
+ ret i32 0
}
+