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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [friend2.C] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/47721
2
// { dg-options -std=c++0x }
3
 
4
// template type parameter friend:
5
 
6
template
7
class Q
8
{
9
  static const int I = 2;
10
public:
11
  friend W;
12
};
13
 
14
struct B
15
{
16
  int ar[Q::I];
17
};
18
 
19
// bonus template template parameter friend:
20
 
21
template  struct A;
22
 
23
template