Commit e260ea9d by Andreas Schwab Committed by Andreas Schwab

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

From-SVN: r90533
parent 0a2695db
2004-11-12 Andreas Schwab <schwab@suse.de>
* gcc.dg/pr16286.c: Fix last change.
2004-11-12 Mark Mitchell <mark@codesourcery.com> 2004-11-12 Mark Mitchell <mark@codesourcery.com>
PR c++/18416 PR c++/18416
......
...@@ -2,10 +2,9 @@ ...@@ -2,10 +2,9 @@
/* { dg-options "-maltivec" } */ /* { dg-options "-maltivec" } */
/* PR 16286 /* PR 16286
* Compilation of a simple Altivec test program fails if vector is #undefined Compilation of a simple Altivec test program fails if vector, pixel
* when compiling with -maltivec. This may be done for building C++ programs and/or bool are #undefined when compiling with -maltivec. This may be
* that use the STL <vector>. done for building C++ programs that use the STL <vector>. */
*/
#include <altivec.h> #include <altivec.h>
#undef vector #undef vector
...@@ -20,5 +19,5 @@ void test(void) ...@@ -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 \"vector\"" "-maltivec" { target powerpc*-*-* } 0 } */ /* { dg-bogus "(syntax|parse) error before \"bool\"" "-maltivec" { target powerpc*-*-* } 0 } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment