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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/5658
2
 
3
// Copyright (C) 2002 Free Software Foundation, Inc.
4
// Contributed by Theodore.Papadopoulo 11 Feb 2002 
5
 
6
struct A {
7
    typedef int iterator;
8
};
9
template 
10
struct B: public A {
11
    template 
12
    struct iterator {
13
    };
14
    B() { }
15
};
16
int main()
17
{
18
    B a;
19
}

powered by: WebSVN 2.1.0

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