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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// Contributed by Dodji Seketeli 
2
// Origin PR c++/40007
3
// { dg-do compile }
4
 
5
template
6
struct x
7
{
8
  protected:
9
  typedef int type;
10
};
11
 
12
template
13
struct y : public x
14
{
15
  typename x::type z;
16
};
17
 
18
template<>
19
struct y : public x
20
{
21
  typedef x::type z;
22
};
23
 
24
template class y;

powered by: WebSVN 2.1.0

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