llvm/test/Assembler/invalid-inttype.ll
Andrey Bokhanko 61e54f80bc Fix IntegerType::MAX_INT_BITS value
IntegerType::MAX_INT_BITS is apparently not in sync with Type::SubclassData
size. This patch fixes this.

Differential Revision: https://reviews.llvm.org/D24814


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283215 91177308-0d34-0410-b5e6-96231b3b80d8
2016-10-04 12:43:46 +00:00

6 lines
187 B
LLVM

; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; i16777216 is the smallest integer type that can't be represented in LLVM IR
@i2 = common global i16777216 0, align 4
; CHECK: expected type