summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/crash73.C
blob: 5c3c87dad7a42379a535c2f041bd5407939fe4ae (plain)
1
2
3
4
5
6
7
8
9
// PR c++/34100
// { dg-do compile }

template<typename T> struct A
{
  typedef typename T::X Y __attribute__((vector_size(8)));	// { dg-error "is not a class, struct" }
};

A<int> a;