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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [ptrmem3.C] - Blame information for rev 825

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

Line No. Rev Author Line
1 149 jeremybenn
// Origin: Theo Papadopoulo 
2
 
3
template 
4
struct I {
5
};
6
 
7
struct R {
8
    R() { }
9
};
10
 
11
class H: public R {
12
public:
13
    H(): R() { }
14
    double& f() { return a; }
15
    double  f() const { return 1.0; }
16
    double a;
17
};
18
 
19
struct A {
20
    typedef I F;
21
    A() { }
22
};

powered by: WebSVN 2.1.0

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