blob: ecea34235df05f66402e8ce99927392da3dfbb84 [file] [log] [blame]
Rafael Espindola2b5a0c92013-12-11 22:18:44 +00001; 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
8define i32* @f() {
9 ret i32* @foo
10}