summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/vector9.C
blob: 52b3f1714444ad9373ea871269468c4b9c1d7726 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/34891

typedef float v4f __attribute__((vector_size(8)));
typedef int   v4i __attribute__((vector_size(8)));

void foo()
{
  v4f v;
  !(v4i)v; // { dg-error "v4i|argument" }
}