2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.law / static-mem3.C
blob1c7900b58452bac5d65c09f76ab73587688760db
1 // { dg-do assemble  }
2 // GROUPS passed static-mem
3 // static-mem file
4 // Message-Id: <9406021639.AA00789@oz.NeXT.COM>
5 // From: Sumana Srinivasan <Sumana_Srinivasan@next.com>
6 // Date: Thu,  2 Jun 94 09:39:09 -0700
7 // Subject: static members function pointers
9 class CRTFooBar;
11 class CRTFoo {
12 public:
13         static const CRTFooBar & defaultFooBar( );
15         CRTFoo( const CRTFoo & );
16         CRTFoo( );
17         CRTFoo( const char *,
18                 const CRTFooBar &tp = CRTFoo::defaultFooBar(),
19                 int = 0 );
20         CRTFoo &setFoo( double,
21                 const CRTFooBar & = CRTFoo::defaultFooBar() );