Mercurial > hg > CbC > CbC_llvm
view test/Assembler/global-addrspace-forwardref.ll @ 77:54457678186b LLVM3.6
LLVM 3.6
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Sep 2014 22:06:00 +0900 |
parents | 95c75e76d11b |
children | afa8332a0e37 |
line wrap: on
line source
; RUN: llvm-as < %s | llvm-dis | FileCheck %s ; RUN: verify-uselistorder %s ; Make sure the address space of forward decls is preserved ; CHECK: @a2 = global i8 addrspace(1)* @a ; CHECK: @a = addrspace(1) global i8 0 @a2 = global i8 addrspace(1)* @a @a = addrspace(1) global i8 0