blob: 3a8d522ad42bf0cc5d824dc56ad4738dc1dd4ccd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* { dg-do compile } */
/* Check that subscripting of vectors work with register storage class decls. */
#define vector __attribute__((vector_size(16) ))
float vf(int i)
{
register vector float a;
return a[0];
}
|