1 // Copyright (C) 2001 Free Software Foundation
2 // Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
5 template <class U> struct A
7 template <class T> class B {}; // { dg-message "operator=|no known conversion" }
10 template <template <class> class TT> void f()
13 y = 0; // { dg-error "no match" }
14 // { dg-message "candidate" "candidate note" { target *-*-* } 13 }
17 template <class T> struct C
19 void g() { f<A<T>::template B>(); } // { dg-message "instantiated" }
25 c.g(); // { dg-message "instantiated" }