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
Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb18.C
blob
8f0a829370266cc8aaf53d94d1119e8767563656
1
// { dg-do assemble }
2
class C { };
3
4
void foo()
5
{
6
C c;
7
void * v = static_cast<void *>(c); // { dg-error "" } illegal cast
8
}