Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / template / error4.C
blob12942fcb7732e66e528c1bc66e11d941c9a5b2c8
1 template<class T> struct C1
3   template<class U> struct C2
4   { class Type { }; };
5 };
7 template<class T, class U>
8 void foo(typename C1<T>::C2<U>::Type *) { } // { dg-error "template" "error " }
9 // { dg-message "note" "note" { target *-*-* } 8 }