summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/boolcomplex-1.c
blob: d05d9bbd88f6a87b4edf0ac52fe5e46aac918a7e (plain)
1
2
3
/* { dg-do compile } */
/* { dg-options "" } */
bool b = --0i == 0; /* { dg-error "lvalue required as decrement operand" } */