summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/array10.C
blob: 41121055e2357a71480d6ef9d1b50884b78d54d7 (plain)
1
2
3
4
5
6
// { dg-do compile }
// { dg-options "" }

typedef int __attribute__((vector_size (8))) vec;

vec foo[] = { (vec) {1, 2} };