blob: 1c0c6f0f765af2eb653897cedd74aa595e2d1742 [file] [log] [blame]
// PR c++/15701
template<template<int> class T> struct A : T<0>
{
void foo();
template<template<int> class U> friend void A<U>::foo();
};
template<int> struct B {};
A<B> a;