https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84940

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Slightly adjusted testcase:
void
foo (int x)
{
  struct {} a[1][x](-a[0]); // { dg-error "wrong type argument to unary minus"
}
}

Reply via email to