Commit 3d43c074 by Mark Mitchell

Remove duplicate of friend18.C

From-SVN: r30334
parent 67289ea6
// Build don't link:
template <class U>
class S1
{
template <class T>
friend class S2;
static int i;
};
template <class T>
class S2
{
public:
static void f() { S1<T>::i = 3; }
};
void g()
{
S2<double>::f();
S2<long>::f();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment