aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-mdsubrange-lowerBound-min.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/invalid-mdsubrange-lowerBound-min.ll')
-rw-r--r--test/Assembler/invalid-mdsubrange-lowerBound-min.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Assembler/invalid-mdsubrange-lowerBound-min.ll b/test/Assembler/invalid-mdsubrange-lowerBound-min.ll
new file mode 100644
index 0000000..b3b2a03
--- /dev/null
+++ b/test/Assembler/invalid-mdsubrange-lowerBound-min.ll
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:41: error: value for 'lowerBound' too small, limit is -9223372036854775808
+!0 = !MDSubrange(count: 30, lowerBound: -9223372036854775809)