aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/typename3.C
blob: a9a914286a94b3ba9ab6c524d348319bf6eabcfc (plain)
1
2
3
4
5
6
7
// { dg-do compile }
// crash test - PR 7266

template <class A>
struct B {
 typedef A::C::D E;  // { dg-error "no type|(parse|syntax) error" }
};