summaryrefslogtreecommitdiff
path: root/test/Assembler/invalid-dilocation-overflow-column.ll
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2015-06-09 19:06:30 +0000
committerDimitry Andric <dim@FreeBSD.org>2015-06-09 19:06:30 +0000
commit85d8b2bbe386bcfe669575d05b61482d7be07e5d (patch)
tree1dc5e75ab222a9ead44c699eceafab7a6ca7b310 /test/Assembler/invalid-dilocation-overflow-column.ll
parent5a5ac124e1efaf208671f01c46edb15f29ed2a0b (diff)
Notes
Diffstat (limited to 'test/Assembler/invalid-dilocation-overflow-column.ll')
-rw-r--r--test/Assembler/invalid-dilocation-overflow-column.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Assembler/invalid-dilocation-overflow-column.ll b/test/Assembler/invalid-dilocation-overflow-column.ll
new file mode 100644
index 0000000000000..043f84d3ab21b
--- /dev/null
+++ b/test/Assembler/invalid-dilocation-overflow-column.ll
@@ -0,0 +1,9 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+!0 = !{}
+
+; CHECK-NOT: error:
+!1 = !DILocation(column: 65535, scope: !0)
+
+; CHECK: <stdin>:[[@LINE+1]]:26: error: value for 'column' too large, limit is 65535
+!2 = !DILocation(column: 65536, scope: !0)