FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / arm1.C
blobe4156323d1a69f173efc9dd06037205e0a3af25b
1 // Build don't link: 
2 // Special g++ Options: -pedantic-errors
3 // GROUPS passed ARM-compliance
4 // ARM $5.7, it's illegal to do math on a `void*'.
6 int
7 main()
9   void *p;
10   ++p;// ERROR - .*