aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-mdlocation-overflow-line.ll
blob: 535b4c9a5c93dce694c03cf3654a0e08ef9f1955 (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(line: 4294967295, scope: !0)

; CHECK: <stdin>:[[@LINE+1]]:24: error: value for 'line' too large, limit is 4294967295
!2 = !MDLocation(line: 4294967296, scope: !0)