Added file forgotten in commit.

From-SVN: r139731
This commit is contained in:
Ulrich Weigand 2008-08-28 19:40:37 +00:00
parent d6beb90e13
commit 9b3f31f2ed

View File

@ -0,0 +1,13 @@
/* { dg-do compile { target powerpc*-*-* } } */
/* { dg-require-effective-target powerpc_altivec_ok } */
/* { dg-options "-maltivec" } */
/* Check that "volatile" type qualifier is propagated to vector type. */
#include <altivec.h>
vector float *f (volatile vector float *a)
{
return a; /* { dg-warning "discards qualifiers" } */
}