brintos

brintos / llvm-project-archived public Read only

0
0
Text · 257 B · fb8fe34 Raw
9 lines · plain
1; RUN: not llvm-as < %s 2>&1 | FileCheck %s2; Check that parser rejects address spaces that are too large to fit in the 24 bits3 4define void @f() {5; CHECK: invalid address space, must be a 24-bit integer6  %y = alloca i32, addrspace(16777216)7  ret void8}9