xref: /aosp_15_r20/external/llvm/test/Assembler/invalid-dilocation-overflow-line.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker!0 = !{}
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: error:
6*9880d681SAndroid Build Coastguard Worker!1 = !DILocation(line: 4294967295, scope: !0)
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Worker; CHECK: <stdin>:[[@LINE+1]]:24: error: value for 'line' too large, limit is 4294967295
9*9880d681SAndroid Build Coastguard Worker!2 = !DILocation(line: 4294967296, scope: !0)
10