blob: 5ac15b7de1ee43ef4fa69d806bb0345ba055866f [file] [log] [blame]
// PR c++/35987
// { dg-do compile }
void
foo (char *p)
{
if (++p = true); // { dg-error "cannot convert" }
}