aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-generic-debug-node-tag-overflow.ll
blob: b5189469f079d0fcd22b2ba476b5d033789608d9 (plain)
1
2
3
4
5
6
7
; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s

; CHECK-NOT: error:
!0 = !GenericDebugNode(tag: 65535)

; CHECK: <stdin>:[[@LINE+1]]:29: error: value for 'tag' too large, limit is 65535
!1 = !GenericDebugNode(tag: 65536)