1 // Copyright (C) 2003 Free Software Foundation
2 // Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
5 // Template instantiate during deferred access check
7 template <void (*)(int)> struct C {
11 template <class T> void f(typename T::X) {
16 template <class T> friend void f(typename T::X);