]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
weak-3.c: Add dg-excess-error comment for cygwin, coff and h8300-*-hms targets
authorDavid Billinghurst <David.Billinghurst@riotinto.com>
Fri, 17 May 2002 04:04:29 +0000 (04:04 +0000)
committerDavid Billinghurst <billingd@gcc.gnu.org>
Fri, 17 May 2002 04:04:29 +0000 (04:04 +0000)
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

From-SVN: r53540

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/weak-3.c
gcc/testsuite/gcc.dg/weak-5.c
gcc/testsuite/gcc.dg/weak-7.c

index ff5c21a393adb4930464dc4ecf47090f3223390d..2b89b28b477b07bfe36b91b395737e809425c92a 100644 (file)
@@ -1,3 +1,10 @@
+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.
index 1675ab10f3bd5fe40812a4812c9cfacb522f267c..3a9553d7e49c4e5882bd550ffbc21360b0e02bbf 100644 (file)
@@ -3,6 +3,7 @@
 
 /* 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} } } */
index eec210992f455201c65cde1892563379a763e97b..a71c2a84e480d1c8025f56e23067a8660ee23449 100644 (file)
@@ -3,6 +3,7 @@
 
 /* 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} } } */
index 64d6155a890c6baaff02435a999dd9a4a25f5724..7a24f7640a73ce18fac3c8170a7a5f89f0224e7f 100644 (file)
@@ -1,4 +1,5 @@
 /* { 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" } */