Make the test test what it is supposed to

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13826 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-05-27 07:37:45 +00:00
parent c0e61e3195
commit 896b64bf03

View File

@ -5,6 +5,9 @@
implementation ; Functions:
declare void %foo()
declare void %bar()
int %nullptr(int* %j) {
bb0:
store int 7, int* %j ; j != null
@ -12,7 +15,9 @@ bb0:
br bool %cond220, label %bb3, label %bb4 ; direct branch
bb3:
call void %foo()
ret int 4 ; Dead code
bb4:
call void %bar()
ret int 3 ; Live code
}