Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / g++.dg / other / error28.C
blob5ac15b7de1ee43ef4fa69d806bb0345ba055866f
1 // PR c++/35987
2 // { dg-do compile }
4 void
5 foo (char *p)
7   if (++p = true);      // { dg-error "cannot convert" }