summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.benjamin/15054.C
blob: 4d1c6f2072c15dfad2989bfcb2ed9e6915602c47 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// { dg-options "-Wno-pointer-arith" }
// 981203 bkoz
// g++/15054
// note that -pedantic also turns on this warning

void cuba(void) {
  void* p; 
  p++;
}