Phase 2 of the great MachineRegisterInfo cleanup. This time, we're changing
[oota-llvm.git] / test / CodeGen / X86 / linker-private.ll
1 ; RUN: llc < %s -mtriple=x86_64-pc-linux | FileCheck --check-prefix=ELF %s
2 ; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck --check-prefix=MACHO %s
3
4 @foo = linker_private global i32 42
5 ;ELF: {{^}}.Lfoo:
6 ;MACHO: {{^}}l_foo:
7
8 define i32* @f() {
9   ret i32* @foo
10 }