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/] [crash17.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
template 
2
struct A {
3
};
4
 
5
template 
6
struct B {
7
  typedef typename T::type type;
8
  static const type j = T::j;
9
 
10
  A b;
11
};
12
 
13
struct C {
14
  typedef int type;
15
  static const int j = 3;
16
};
17
 
18
int i = B::j;
19
 

powered by: WebSVN 2.1.0

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