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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
/* PR c++/4633 */
2
/* { dg-do compile } */
3
 
4
// The 'class X' inside the template used to escape (somehow),
5
// so that the typedef claimed that it was redefining X.
6
 
7
template  struct S ;
8
 
9
template <> struct S
10
{
11
  template  struct R;
12
  template  struct R { };
13
 
14
  typedef int X;
15
};

powered by: WebSVN 2.1.0

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