* gcc.dg/weak-1.c: Fix scan tests.

From-SVN: r50821
This commit is contained in:
Richard Earnshaw 2002-03-15 18:32:37 +00:00 committed by Richard Earnshaw
parent 6da794e835
commit 32135a8c0c
2 changed files with 12 additions and 8 deletions

View File

@ -1,3 +1,7 @@
2002-03-15 Richard Earnshaw <rearnsha@arm.com>
* gcc.dg/weak-1.c: Fix scan tests.
2002-03-15 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.dg/20020312-2.c [__MMIX__]: No pic register.

View File

@ -2,14 +2,14 @@
/* COFF does not support weak, and dg doesn't support UNSUPPORTED. */
/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin } } */
/* { dg-final { scan-assembler "weak[^ ]*[ ]_?a" } } */
/* { dg-final { scan-assembler "weak[^ ]*[ ]_?b" } } */
/* { dg-final { scan-assembler "weak[^ ]*[ ]_?c" } } */
/* { dg-final { scan-assembler "weak[^ ]*[ ]_?d" } } */
/* { dg-final { scan-assembler "weak[^ ]*[ ]_?e" } } */
/* { dg-final { scan-assembler "weak[^ ]*[ ]_?g" } } */
/* { dg-final { scan-assembler-not "weak[^ ]*[ ]_?i" } } */
/* { dg-final { scan-assembler "weak[^ ]*[ ]_?j" } } */
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?a" } } */
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?b" } } */
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?c" } } */
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?d" } } */
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?e" } } */
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?g" } } */
/* { dg-final { scan-assembler-not "weak\[^ \t\]*\[ \t]_?i" } } */
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?j" } } */
#pragma weak a
int a;