FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / ptrmem1.C
blob1b5d5df8e390fe1faa445f230ab4ab1e863e0e5a
1 // Build don't link:
3 class x
5 public:
6   virtual int is_constant();
7 };
9 void foo()
11   x* y;
12   if (y->is_constant) // ERROR - assuming &
13     {
14     }