blob: 13dc37af68d795b820bbbc703565e312da00a80d [file] [log] [blame]
// Build don't link:
extern "C" int printf(const char *, ...);
template <class T> struct A {
typedef typename T::X B; // ERROR - not a class
A(double);
};
template <class T> void xxx(typename A<T>::B);
template <class T> struct B {
friend void xxx<T>(T); // ERROR - does not match any template
};
template struct B<double>; // ERROR -