aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/prefixdata.ll
blob: 1f11dc7083eb59c4b6205e213fdfbdfadf2e8b79 (plain)
1
2
3
4
5
6
7
8
9
; RUN: echo > %t.ll
; RUN: llvm-link %t.ll %s -S -o - | FileCheck %s

@i = linkonce_odr global i32 1

; CHECK: define void @f() prefix i32* @i
define void @f() prefix i32* @i {
  ret void
}