Justin Holewinski | eaff2d5 | 2012-11-16 21:03:47 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llvm-dis | FileCheck %s |
2 | |||||
3 | ; Make sure the address space of forward decls is preserved | ||||
4 | |||||
5 | ; CHECK: @a2 = global i8 addrspace(1)* @a | ||||
6 | ; CHECK: @a = addrspace(1) global i8 0 | ||||
7 | @a2 = global i8 addrspace(1)* @a | ||||
8 | @a = addrspace(1) global i8 0 |