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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [access21.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/48884
2
 
3
class X
4
{
5
  static const int I = 42;
6
  friend struct Y;
7
};
8
 
9
template  struct A { };
10
 
11
struct Y
12
{
13
  template 
14
  static A f(T t)
15
  {
16
    return A();
17
  }
18
};
19
 
20
int main()
21
{
22
  Y::f(X());
23
}

powered by: WebSVN 2.1.0

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