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 8 9 class CRTFooBar; 10 11 class CRTFoo { 12 public: 13 static const CRTFooBar & defaultFooBar( ); 14 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() ); 22 23 }; 24