FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.ext / typeof2.C
blob139048c41284a2ebaa7634e86b0a816ba3814499
1 // Build don't link:
2 // Origin: Mark Mitchell <mark@codesourcery.com>
4 struct S
6   int i; // ERROR - non-static data member
7   __typeof( S::i ) f (); // ERROR - referenced here
8 };