David Majnemer | 01b2fd3 | 2015-01-20 05:58:07 +0000 | [diff] [blame] | 1 | ; RUN: llvm-dis < %s.bc| FileCheck %s |
2 | |||||
3 | ; weak-macho-3.5.ll.bc was generated by passing this file to llvm-as-3.5 | ||||
4 | ; The test checks that LLVM does not place weak GlobalVariables into Comdats for | ||||
5 | ; macho object files, they don't support it. | ||||
6 | |||||
7 | target triple = "x86_64-apple-macosx10.9.0" | ||||
8 | ; CHECK: target triple = "x86_64-apple-macosx10.9.0" | ||||
9 | |||||
10 | @x = weak global i32 0 | ||||
11 | ; CHECK: @x = weak global i32 0{{$}} |