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

14 lines
359 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; 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
}