1; RUN: llc -verify-machineinstrs -mtriple=powerpc-unknown-linux-gnu < %s | FileCheck %s
2
3; CHECK: .section  .bss,"aw",@nobits
4; CHECK: .weak X
5; CHECK-LABEL: X:
6; CHECK: .long 0
7; CHECK: .size X, 4
8
9@X = weak global i32 0          ; <i32*> [#uses=1]
10@.str = internal constant [4 x i8] c"t.c\00", section "llvm.metadata"          ; <[4 x i8]*> [#uses=1]
11@llvm.used = appending global [1 x i8*] [ i8* bitcast (i32* @X to i8*) ], section "llvm.metadata"       ; <[1 x i8*]*> [#uses=0]
12
13