OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [typename21.C] - Blame information for rev 305

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

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do assemble  }
2
// { dg-options "" }
3
// Origin: Mark Mitchell 
4
 
5
template 
6
struct S1 {
7
  typedef T X;
8
};
9
 
10
template 
11
struct B {
12
  typedef T I;
13
};
14
 
15
template 
16
struct S2 : public B {
17
  struct I {};
18
 
19
  typedef typename S1::X IX;
20
 
21
  void f(IX);
22
};
23
 
24
template 
25
void S2::f(IX) {}

powered by: WebSVN 2.1.0

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