llvm/test/Assembler/invalid-mdsubrange-lowerBound-max.ll
Duncan P. N. Exon Smith b984c49449 AsmWriter/Bitcode: MDSubrange
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229003 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-13 01:10:38 +00:00

5 lines
217 B
LLVM

; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
; CHECK: [[@LINE+1]]:41: error: value for 'lowerBound' too large, limit is 9223372036854775807
!0 = !MDSubrange(count: 30, lowerBound: 9223372036854775808)