blob: b3b12b119be48a10b3be7d9a02de070d65c95554 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* { dg-do compile { target powerpc*-*-* } } */
/* { dg-options "-maltivec" } */
/* { dg-require-effective-target powerpc_altivec } */
/* 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 'volatile' qualifier" } */
}
|