aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-mdlocation-overflow-column.ll
blob: 92ea661ed34655d74d3fe56d69b2c126117e952b (plain)
1
2
3
4
5
6
7
8
9
; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s

!0 = !{}

; CHECK-NOT: error
!1 = !MDLocation(column: 65535, scope: !0)

; CHECK: <stdin>:[[@LINE+1]]:26: error: value for 'column' too large, limit is 65535
!2 = !MDLocation(column: 65536, scope: !0)