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>
PR c++/18416
......
......@@ -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 } */
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