Remove duplicate of friend18.C
From-SVN: r30334
This commit is contained in:
parent
67289ea639
commit
3d43c0742f
1 changed files with 0 additions and 26 deletions
|
@ -1,26 +0,0 @@
|
|||
// 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();
|
||||
}
|
||||
|
Loading…
Add table
Reference in a new issue