aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/arm1.C
blob: 74091f8cce5a3e15a16047c3e4bd5cd179ce897e (plain)
1
2
3
4
5
6
7
8
9
10
// Build don't link: 
// Special g++ Options: -pedantic-errors
// GROUPS passed ARM-compliance
// ARM $5.7, it's illegal to do math on a `void*'.

main()
{
  void *p;
  ++p;// ERROR - .*
}