DebugInfo: Rename testcases from MD* to DI*, NFC
[oota-llvm.git] / test / Assembler / invalid-dilocation-overflow-column.ll
diff --git a/test/Assembler/invalid-dilocation-overflow-column.ll b/test/Assembler/invalid-dilocation-overflow-column.ll
new file mode 100644 (file)
index 0000000..043f84d
--- /dev/null
@@ -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)