summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/vector13.C
blob: 5160f112149ee65eafd53c28522cbf9d6ad541c8 (plain)
1
2
3
4
5
6
// PR c++/35096
// { dg-do compile }

typedef const int X __attribute((vector_size(8)));
extern const int x[] __attribute((vector_size(8)));
X x[] = { 5 };