aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/pr94385.c
blob: 0611921295c5af928e525c9a5d4b27ea884bf10f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR c++/94385 */
/* { dg-do compile } */
/* { dg-options "" } */

typedef int V __attribute__((__vector_size__(16)));
typedef float W __attribute__((__vector_size__(16)));

void
foo (W *x, V *y)
{
  *y = (({ __builtin_convertvector (*x, V); }));
}