// PR c++/14002 template void foo (T x) { x; } void bar() { foo(0); } struct A { friend void foo (int); };