blob: f0f094a2248dd83847cb0e21f4d53f7206e5bd4d [file] [log] [blame]
Justin Holewinskieaff2d52012-11-16 21:03:47 +00001; 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