arm1.C   [plain text]


// { 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 "" } .*
}