summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/attr2.C
blob: ce770029cbb5e3d81a6f4f64c32dfe64be2e94e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/16337

#define vector __attribute__((vector_size(16)))
void foo (void)
{
  vector signed int v1 = { 1, 2, 3, 4 };
  vector signed int v2, v3;
  vector signed int v4;
  v2 = v1;
  v3 = v1;
  v4 = v1;
}