blob: 496d52f5e7faefc58d3738313cceefab922e6e85 [file] [log] [blame]
template <class T>
struct A
{
friend void bar(A<T> a) {}
};
void bar(A<int>);
int main()
{
A<int> a;
bar(a);
}