add symbol qualifiers for mach-o to bfd/gas
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mach-o / err-syms-2.s
1 # { dg-do assemble }
2
3 .section __weak, __weak, coalesced
4
5 a: .space 1
6 .weak_definition a
7
8 .weak_definition b
9 b: .space 1
10
11 .weak_definition c
12
13 # { dg-error "Non-global symbol: .a. can.t be a weak_definition." "" { target *-*-darwin*} 0 }
14 # { dg-error "Non-global symbol: .b. can.t be a weak_definition." "" { target *-*-darwin*} 0 }
15 # { dg-error ".c. can.t be a weak_definition .since it is undefined." "" { target *-*-darwin*} 0 }
This page took 0.031024 seconds and 5 git commands to generate.