(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.old-deja/
g++.brendan/
arm1.C
// { dg-do assemble  }
// { dg-options "-pedantic-errors" }
// GROUPS passed ARM-compliance
// ARM $5.7, it's illegal to do math on a `void*'.

int
main()
{
  void *p;
  ++p;// { dg-error "" } .*
}