OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [friend16.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do assemble  }
2
 
3
template 
4
class S2
5
{
6
public:
7
  static void f();
8
};
9
 
10
 
11
template 
12
class S1
13
{
14
  template 
15
  friend class S2;
16
 
17
  static int i;
18
};
19
 
20
 
21
template 
22
void S2::f()
23
{
24
  S1::i = 3;
25
}
26
 
27
void g()
28
{
29
  S2::f();
30
  S2::f();
31
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.