Merge reload-branch up to revision 101000
[official-gcc.git] / gcc / testsuite / gcc.dg / pr16155.c
blob64df264d0b61814dadbcccc5667f01f60e2be57a
1 /* { dg-do compile { target powerpc*-*-* } } */
2 /* { dg-options "-maltivec -ansi" } */
4 /* PR 16155
5 * Compilation of a simple altivec test program fails if the -ansi flag is
6 * given to gcc, when compiling with -maltivec.
7 */
9 #include <altivec.h>
11 void foo(void)
13 vector unsigned short a, b;
14 a = vec_splat(b, 0);
17 /* { dg-bogus "parse error before \"typeof\"" "-maltivec -mansi" { target powerpc*-*-* } 0 } */