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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [mem-partial1.C] - Blame information for rev 832

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

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/14032
2
 
3
template  struct outer {
4
  template 
5
  struct inner {
6
    static int f() { return inner::N; };
7
  };
8
 
9
  template 
10
  struct inner {
11
    static const int N = 1;
12
  };
13
};
14
 
15
int i = outer::inner::f();

powered by: WebSVN 2.1.0

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