aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-08 19:11:21 +0000
committerChris Lattner <sabre@nondot.org>2002-10-08 19:11:21 +0000
commitde013f53a797400104444416b980ea2e586611e4 (patch)
tree00895be5da421355aa0d6265e5cce6d905992166
parentb82992827d17702bb8a7cf0bb6f57fb005c23491 (diff)
Cleanup testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4073 91177308-0d34-0410-b5e6-96231b3b80d8
-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