aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-mdsubrange-count-large.ll
blob: 733c4afa34af1b1273928db94eb92d72c597af2e (plain)
1
2
3
4
5
6
7
; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s

; CHECK-NOT: error:
!0 = !MDSubrange(count: 9223372036854775807)

; CHECK: <stdin>:[[@LINE+1]]:25: error: value for 'count' too large, limit is 9223372036854775807
!1 = !MDSubrange(count: 9223372036854775808)