summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/static-mem3.C
blob: 1c7900b58452bac5d65c09f76ab73587688760db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// { dg-do assemble  }
// GROUPS passed static-mem
// static-mem file
// Message-Id: <9406021639.AA00789@oz.NeXT.COM>
// From: Sumana Srinivasan <Sumana_Srinivasan@next.com>
// Date: Thu,  2 Jun 94 09:39:09 -0700
// Subject: static members function pointers

class CRTFooBar;

class CRTFoo {
public:
        static const CRTFooBar & defaultFooBar( );

        CRTFoo( const CRTFoo & );
        CRTFoo( );
        CRTFoo( const char *,
                const CRTFooBar &tp = CRTFoo::defaultFooBar(),
                int = 0 );
        CRTFoo &setFoo( double,
                const CRTFooBar & = CRTFoo::defaultFooBar() );

};