xref: /llvm-project/llvm/test/Assembler/invalid-disubrange-count-large.ll (revision 9ce58b1cfbb125c77dc7a89e43b767727c7bb4db)
1; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
2
3; CHECK-NOT: error:
4!0 = !DISubrange(count: 9223372036854775807)
5
6; CHECK: <stdin>:[[@LINE+1]]:25: error: value for 'count' too large, limit is 9223372036854775807
7!1 = !DISubrange(count: 9223372036854775808)
8