summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-10-03 17:17:54 +0000
committerChris Lattner <sabre@nondot.org>2006-10-03 17:17:54 +0000
commit70a12ec8f86dce6ab41c5118061945d4eb754a0f (patch)
treedda2e11bf8b828e023850a5ec6b01614610847a3 /llvm
parente385fcf09840978666b92faae396ab2764cb0730 (diff)
downloadbcm5719-llvm-70a12ec8f86dce6ab41c5118061945d4eb754a0f.tar.gz
bcm5719-llvm-70a12ec8f86dce6ab41c5118061945d4eb754a0f.zip
testcase for PR933
llvm-svn: 30702
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/Regression/CodeGen/X86/2006-10-02-BoolRetCrash.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Regression/CodeGen/X86/2006-10-02-BoolRetCrash.ll b/llvm/test/Regression/CodeGen/X86/2006-10-02-BoolRetCrash.ll
new file mode 100644
index 00000000000..d7571d89192
--- /dev/null
+++ b/llvm/test/Regression/CodeGen/X86/2006-10-02-BoolRetCrash.ll
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | llc &&
+; RUN: llvm-as < %s | llc -enable-x86-fastcc
+; PR933
+
+fastcc bool %test() {
+ ret bool true
+}
OpenPOWER on IntegriCloud