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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// Origin: PR c++/48656
2
// { dg-options "-std=c++0x" }
3
// { dg-do compile }
4
 
5
struct A {
6
 int f();
7
 int f(int);
8
};
9
 
10
template  struct B : A
11
{
12
};
13
 
14
template  struct C : B
15
{
16
    void
17
    g()
18
    {
19
        A::f();
20
    }
21
};

powered by: WebSVN 2.1.0

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