Rafael Espindola | 2b5a0c9 | 2013-12-11 22:18:44 +0000 | [diff] [blame] | 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 | } |