OSDN Git Service

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