IR: Allow MDSubrange to have 'count: -1'
[oota-llvm.git] / test / Assembler / global-addrspace-forwardref.ll
1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2 ; RUN: verify-uselistorder %s
3
4 ; Make sure the address space of forward decls is preserved
5
6 ; CHECK: @a2 = global i8 addrspace(1)* @a
7 ; CHECK: @a = addrspace(1) global i8 0
8 @a2 = global i8 addrspace(1)* @a
9 @a = addrspace(1) global i8 0