view test/Assembler/local-unnamed-addr.ll @ 129:9ec641e857f8

Fix compile error to update llvm 5.0
author mir3636
date Tue, 12 Dec 2017 19:42:58 +0900
parents 1172e4bd9c6f
children
line wrap: on
line source

; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s

; CHECK: @c = local_unnamed_addr constant i32 0
@c = local_unnamed_addr constant i32 0

; CHECK: @a = local_unnamed_addr alias i32, i32* @c
@a = local_unnamed_addr alias i32, i32* @c

; CHECK: define void @f() local_unnamed_addr {
define void @f() local_unnamed_addr {
  ret void
}