From 67c32a98315f785a9ec9d531c1f571a0196c7463 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 18 Jan 2015 16:17:27 +0000 Subject: Vendor import of llvm RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_360/rc1@226102 --- test/Assembler/invalid-mdlocation-overflow-column.ll | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/Assembler/invalid-mdlocation-overflow-column.ll (limited to 'test/Assembler/invalid-mdlocation-overflow-column.ll') diff --git a/test/Assembler/invalid-mdlocation-overflow-column.ll b/test/Assembler/invalid-mdlocation-overflow-column.ll new file mode 100644 index 000000000000..d1dbb27173dc --- /dev/null +++ b/test/Assembler/invalid-mdlocation-overflow-column.ll @@ -0,0 +1,9 @@ +; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s + +!0 = !{} + +; CHECK-NOT: error +!1 = !MDLocation(column: 255, scope: !0) + +; CHECK: :[[@LINE+1]]:26: error: value for 'column' too large, limit is 255 +!2 = !MDLocation(column: 256, scope: !0) -- cgit v1.2.3