You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
232 B

namespace N { template<typename T> struct A { friend int f(A); }; }
// It would seem like this variable should be called 'c'.
// But that makes the original problem disappear...
int e = f(N::A<int>());
#include "a.h"
#include "b.h"