OSDN Git Service

cp/ChangeLog
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / ptrmem1.C
1 // { dg-do assemble  }
2
3 class x
4 {
5 public:
6   virtual int is_constant();
7 };
8
9 void foo()
10 {
11   x* y;
12   if (y->is_constant) // { dg-error "" } assuming &
13     {
14     }
15 }