1 // { dg-do assemble } 2 // { dg-options "-Wno-pointer-arith" } 3 // 981203 bkoz 4 // g++/15054 5 // note that -pedantic also turns on this warning 6 cuba(void)7 void cuba(void) { 8 void* p; 9 p++; 10 } 11