1 /* { dg-do compile { target *-*-darwin* } } */
2 /* { dg-options "-fcommon" } */
4 /* In all cases, common has a max alignment of 2^15. */
5 int badcommon
__attribute__ ((aligned (65536))); /* { dg-error "common variables must have an alignment" "" { target { *-*-darwin1[1-9]* *-*-darwin2* } } } */
6 /* { dg-error "requested alignment .65536. exceeds object file maximum 32768" "" { target { *-*-darwin[4-9]* *-*-darwin10* } } .-1 } */