* gcc.dg/pr16286.c: Fix last change.

From-SVN: r90533
This commit is contained in:
Andreas Schwab 2004-11-12 17:09:10 +00:00 committed by Andreas Schwab
parent 0a2695dba7
commit e260ea9df0
2 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2004-11-12 Andreas Schwab <schwab@suse.de>
* gcc.dg/pr16286.c: Fix last change.
2004-11-12 Mark Mitchell <mark@codesourcery.com>
PR c++/18416

View File

@ -2,10 +2,9 @@
/* { dg-options "-maltivec" } */
/* PR 16286
* Compilation of a simple Altivec test program fails if vector is #undefined
* when compiling with -maltivec. This may be done for building C++ programs
* that use the STL <vector>.
*/
Compilation of a simple Altivec test program fails if vector, pixel
and/or bool are #undefined when compiling with -maltivec. This may be
done for building C++ programs that use the STL <vector>. */
#include <altivec.h>
#undef vector
@ -20,5 +19,5 @@ void test(void)
}
/* { dg-bogus "(syntax|parse) error before \"vector\"" "-maltivec" { target powerpc*-*-* } 0 } */
/* { dg-bogus "(syntax|parse) error before \"vector\"" "-maltivec" { target powerpc*-*-* } 0 } */
/* { dg-bogus "(syntax|parse) error before \"vector\"" "-maltivec" { target powerpc*-*-* } 0 } */
/* { dg-bogus "(syntax|parse) error before \"pixel\"" "-maltivec" { target powerpc*-*-* } 0 } */
/* { dg-bogus "(syntax|parse) error before \"bool\"" "-maltivec" { target powerpc*-*-* } 0 } */