diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-02 05:43:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-02 05:43:51 +0000 |
commit | c95f3b88226c806c557820d14c6f7ee724706fcd (patch) | |
tree | eeaf2e84d47077e427b8f0e526df8d5df8d2b591 | |
parent | 1c4b6de4e744c19108838281fd028758143738e7 (diff) |
Make this testcase more interesting
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14561 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/X86/2003-08-23-DeadBlockTest.llx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx b/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx index a0f8362667..9efbf09b42 100644 --- a/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx +++ b/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx @@ -2,11 +2,12 @@ implementation -void %test() { -entry: ret void +int %test() { +entry: ret int 7 Test: ; dead block! - call void %test() - call void %test() - ret void + %A = call int %test() + %B = call int %test() + %C = add int %A, %B + ret int %C } |