Restore "Move metadata linking after lazy global materialization/linking."
[oota-llvm.git] / test / Linker / Inputs / only-needed-named-metadata.ll
1 @X = external global i32
2
3 declare i32 @foo()
4
5 define void @bar() {
6         load i32, i32* @X
7         call i32 @foo()
8         ret void
9 }