OSDN Git Service

* g++.dg/parse/repo1.C: Use cleanup-repo-files.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / parse / no-typename1.C
1 // PR c++/4903
2 // Origin: Dan Marinescu <theverylittleone@hotmail.com>
3 // { dg-do compile }
4
5 template <typename T> struct A
6 {
7     template <typename U> struct B
8     {
9         A<T>::template B<U> foo(); // { dg-error "" }
10     };
11 };