llvm-for-llvmta/test/Assembler/local-unnamed-addr.ll

14 lines
359 B
LLVM

; 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
}