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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.dg/] [template/] [ptrmem3.C] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
// 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.