blob: ec73e6221f5bcc71e1ee12d24e759f65bd8bf1dc [file] [log] [blame]
// { dg-do assemble }
class x
{
public:
virtual int is_constant();
};
void foo()
{
x* y;
if (y->is_constant) // { dg-error "" } assuming &
{
}
}