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
[31/77] Use scalar_int_mode for move2add
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
arm1.C
blob
5cd4088a419d3f1d484d5ee9227dec6d8d9721e6
1
// { dg-do assemble }
2
// { dg-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;// { dg-error "" } .*
11
}