llvm-project
8 строк · 257.0 Байт
1; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2; Check that parser rejects address spaces that are too large to fit in the 24 bits
3
4define void @f() {
5; CHECK: invalid address space, must be a 24-bit integer
6%y = alloca i32, addrspace(16777216)
7ret void
8}
9