OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2007-06-11 Andreas Tobler <a.tobler@schweiz.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
Wcxx-compat-1.c
1
/* PR c/21759 */
2
/* { dg-options "-Wc++-compat" } */
3
4
int
5
main(void)
6
{
7
void *p = 0;
8
int *q = p; /* { dg-warning "not permitted" } */
9
double* t = (void *)0;
10
return p != q;
11
}