summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/crash75.C
blob: 462be95b2f7fc6d3dc9be21ba4b3630c7dbc2b81 (plain)
1
2
3
4
5
6
7
8
// PR c++/34776

template<typename T> struct A
{
  T::X<0> x; // { dg-error "non-template|T::template|base type" }
};

A<int*> a;