aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-06-06 07:58:29 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-06-06 07:58:29 +0000
commita5e7f35daa71ed2417828fac747f4b4a3675d44b (patch)
tree4b9ec7d7b58ce7153554865c2433a8b7632ed5b4
parenta51245036e3f082da43f73c927383d00cfa4437c (diff)
downloadexternal_llvm-a5e7f35daa71ed2417828fac747f4b4a3675d44b.zip
external_llvm-a5e7f35daa71ed2417828fac747f4b4a3675d44b.tar.gz
external_llvm-a5e7f35daa71ed2417828fac747f4b4a3675d44b.tar.bz2
Return 'int 0' instead of void so that the test can be considered to pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6653 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/ExecutionEngine/test-branch.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ExecutionEngine/test-branch.ll b/test/ExecutionEngine/test-branch.ll
index d209e0b..d3559d8 100644
--- a/test/ExecutionEngine/test-branch.ll
+++ b/test/ExecutionEngine/test-branch.ll
@@ -1,9 +1,9 @@
; test unconditional branch
-void %main() {
+int %main() {
br label %Test
Test:
%X = seteq int 0, 4
br bool %X, label %Test, label %Label
Label:
- ret void
+ ret int 0
}