Mercurial > hg > CbC > CbC_llvm
diff test/Assembler/global-addrspace-forwardref.ll @ 95:afa8332a0e37 LLVM3.8
LLVM 3.8
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Oct 2015 17:48:58 +0900 |
parents | 54457678186b |
children |
line wrap: on
line diff
--- a/test/Assembler/global-addrspace-forwardref.ll Wed Feb 18 14:56:07 2015 +0900 +++ b/test/Assembler/global-addrspace-forwardref.ll Tue Oct 13 17:48:58 2015 +0900 @@ -7,3 +7,12 @@ ; CHECK: @a = addrspace(1) global i8 0 @a2 = global i8 addrspace(1)* @a @a = addrspace(1) global i8 0 + +; Now test with global IDs instead of global names. + +; CHECK: @a3 = global i8 addrspace(1)* @0 +; CHECK: @0 = addrspace(1) global i8 0 + +@a3 = global i8 addrspace(1)* @0 +@0 = addrspace(1) global i8 0 +