summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/vector10.C
blob: 46ea244c56cc796f5e75bf20c40839f485750fb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/34914
// { dg-do compile }

struct A { int __attribute ((vector_size (8))) x; };

void
foo ()
{
  __attribute ((vector_size (8))) int A::*p;
  p == 0;
}