1; RUN: llc < %s -mtriple=i686-pc-linux-gnu | FileCheck %s -check-prefix=LINUX 2; RUN: llc < %s -mtriple=i686-apple-darwin8 | FileCheck %s -check-prefix=DARWIN 3; RUN: llc < %s -mtriple=x86_64-w64-mingw32 | FileCheck %s -check-prefix=WINDOWS 4 5 6@a = hidden global i32 0 7@b = external hidden global i32 8@c = global i32* @b 9 10define weak hidden void @t1() nounwind { 11; LINUX: .hidden t1 12; LINUX-LABEL: t1: 13 14; DARWIN: .private_extern _t1 15; DARWIN-LABEL: t1: 16 17; WINDOWS-LABEL: t1: 18; WINDOWS-NOT: hidden 19 ret void 20} 21 22define weak void @t2() nounwind { 23; DARWIN: .weak_definition _t2 24 ret void 25} 26 27; LINUX: .hidden a 28; LINUX: .hidden b 29 30; DARWIN: .private_extern _a 31; DARWIN-NOT: private_extern 32