aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/arm1.C
blob: e4156323d1a69f173efc9dd06037205e0a3af25b (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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*'.

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