summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/vector15.C
blob: 7058bf1b8c04132aa97c9b5f28fbe92fa8cb9f3d (plain)
1
2
3
4
5
/* { dg-do compile } */

/* Check that we error out when using vector_size on the bool type. */

__attribute__((vector_size(16) )) bool a; /* { dg-error "" } */