diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/2006-10-02-BoolRetCrash.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/2006-10-02-BoolRetCrash.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/2006-10-02-BoolRetCrash.ll b/llvm/test/CodeGen/X86/2006-10-02-BoolRetCrash.ll new file mode 100644 index 00000000000..c918ef93129 --- /dev/null +++ b/llvm/test/CodeGen/X86/2006-10-02-BoolRetCrash.ll @@ -0,0 +1,7 @@ +; RUN: llvm-upgrade < %s | llvm-as | llc && +; RUN: llvm-upgrade < %s | llvm-as | llc -enable-x86-fastcc +; PR933 + +fastcc bool %test() { + ret bool true +} |