2017-06-14 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash48.C
blob6aa3aa3ed26b4cc66452b89c282336d5dfe858e3
1 // PR c++/11471
2 // Origin:  <bagnara@cs.unipr.it>
3 // { dg-do compile }
5 template<typename T> struct A
7   typedef typename T::X X;
8 };
10 template<typename T> A<T>::X::X() {} // { dg-error "no type|invalid use|not a type|dependent" }