1 /* { dg-do compile } */
2 /* { dg-options "-fno-common" } */
4 /* COFF does not support weak, and dg doesn't support UNSUPPORTED. */
5 /* { dg-do compile { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */
7 /* { dg-final { global target_triplet } } */
8 /* { dg-final { if [string match h8300-*-hms $target_triplet ] {return} } } */
9 /* { dg-final { if [string match i?86-pc-cygwin $target_triplet ] {return} } } */
10 /* { dg-final { if [string match *-*-coff $target_triplet ] {return} } } */
11 /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?a" } } */
12 /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?b" } } */
13 /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?c" } } */
14 /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?d" } } */
15 /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?e" } } */
16 /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?g" } } */
17 /* { dg-final { scan-assembler-not "weak\[^ \t\]*\[ \t\]_?i" } } */
18 /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?j" } } */
38 /* This permutation is illegal. */
47 /* This permutation is illegal. */
57 int use_j() { return j
; }