repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
arm1.C
blob
e4156323d1a69f173efc9dd06037205e0a3af25b
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*'.
5
6
int
7
main()
8
{
9
void *p;
10
++p;// ERROR - .*
11
}