llvm-for-llvmta/test/Assembler/invalid-dilocation-overflow-line.ll
Nils Hölscher 3500bf8dde first commit
2022-04-25 10:02:23 +02:00

10 lines
272 B
LLVM

; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
!0 = !{}
; CHECK-NOT: error:
!1 = !DILocation(line: 4294967295, scope: !0)
; CHECK: <stdin>:[[@LINE+1]]:24: error: value for 'line' too large, limit is 4294967295
!2 = !DILocation(line: 4294967296, scope: !0)