Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / darwin-comm-1.c
blob2ea11d63d816955c37b26408f4f0182c01cc8fae
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 } */