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 000000000000..d7571d891924 --- /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 +}