aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/globaldce.ll5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/globaldce.ll b/test/globaldce.ll
index cddb5fe14d..30eb8fc674 100644
--- a/test/globaldce.ll
+++ b/test/globaldce.ll
@@ -2,13 +2,12 @@
implementation
-internal int "deadfunc"()
-begin
+internal int "deadfunc"() {
%val = load int * %var
%val2 = call int %deadfunc()
%val3 = add int %val, %val2
ret int %val3
-end
+}
int "main"(int %argc) ; TODO: , sbyte **argv, sbyte **envp)
begin