2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / net19.C
blob0283166805c3288821ff8f0c54db5a227db9def1
1 // { dg-do assemble  }
2 // Test to make sure &<incomplete record type> works in c++
4 struct FILE {
5     int _flags;          
6 };
8 extern struct _fake_filebuf __std_filebuf_2;
10 class Value {
11   int  width;                    
12 public:
13   Value();                       
14   friend Value    operator&(    __const  Value&,        __const  Value&);
17 FILE* Foo ()
19         return ((FILE*)&__std_filebuf_2);