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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [inherit6.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
// Origin PR c++/47172
2
// { dg-options "-std=c++0x" }
3
// { dg-do compile }
4
 
5
struct A
6
{
7
    int f() const;
8
};
9
 
10
template 
11
struct B : A { };
12
 
13
template 
14
struct C : B
15
{
16
    void g();
17
};
18
 
19
template 
20
void C::g()
21
{
22
    A::f();
23
}

powered by: WebSVN 2.1.0

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