Commit | Line | Data |
---|---|---|
b22161d6 IS |
1 | # { dg-do assemble } |
2 | ||
3 | .weak_definition a | |
4 | a: .space 1 | |
5 | ||
6 | b: .space 1 | |
7 | .weak_definition b | |
8 | ||
9 | # { dg-error ".a. can.t be a weak_definition .currently only supported in sections of type coalesced." "" { target *-*-darwin*} 4 } | |
10 | # { dg-error ".b. can.t be a weak_definition .currently only supported in sections of type coalesced." "" { target *-*-darwin*} 7 } |