summaryrefslogtreecommitdiffstats
path: root/test/Assembler/2003-05-21-MalformedShiftCrash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2003-05-21-MalformedShiftCrash.ll')
-rw-r--r--test/Assembler/2003-05-21-MalformedShiftCrash.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Assembler/2003-05-21-MalformedShiftCrash.ll b/test/Assembler/2003-05-21-MalformedShiftCrash.ll
new file mode 100644
index 0000000..c661f7c
--- /dev/null
+++ b/test/Assembler/2003-05-21-MalformedShiftCrash.ll
@@ -0,0 +1,4 @@
+; Found by inspection of the code
+; RUN: not llvm-as < %s > /dev/null |& grep {constexpr requires integer or integer vector operands}
+
+global i32 ashr (float 1.0, float 2.0)