+2002-05-16 David.Billinghurst <David.Billinghurst@riotinto.com>
+
+ * gcc.dg/weak-3.c: Add dg-excess-error comment for
+ cygwin, coff and h8300-*-hms targets
+ * gcc.dg/weak-5.c: Likewise
+ * gcc.dg/weak-7.c: Likewise
+
2002-05-15 Jason Merrill <jason@redhat.com>, Alexandre Oliva <aoliva@redhat.com>
* g++.dg/init/pm1.C: New test.
/* COFF does not support weak, and dg doesn't support UNSUPPORTED. */
/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */
+/* { dg-excess-errors "COFF does not support weak symbols" { target *-*-coff i?86-pc-cygwin h8300-*-hms } } */
/* { dg-final { global target_triplet } } */
/* { dg-final { if [string match h8300-*-hms $target_triplet ] {return} } } */
/* COFF does not support weak, and dg doesn't support UNSUPPORTED. */
/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */
+/* { dg-excess-errors "COFF does not support weak symbols" { target *-*-coff i?86-pc-cygwin h8300-*-hms } } */
/* { dg-final { global target_triplet } } */
/* { dg-final { if [string match h8300-*-hms $target_triplet ] {return} } } */
/* { dg-do compile } */
+/* { dg-excess-errors "COFF does not support weak symbols" { target *-*-coff i?86-pc-cygwin h8300-*-hms } } */
extern void * foo (void);
void * foo (void) { return (void *)foo; } /* { dg-error "precede" } */