bd52d17906
too large to list, but see: http://gcc.gnu.org/gcc-3.4/changes.html http://gcc.gnu.org/gcc-4.0/changes.html http://gcc.gnu.org/gcc-4.1/changes.html for the details.
12 lines
203 B
C
12 lines
203 B
C
/* PR c/21759 */
|
|
/* { dg-options "-Wc++-compat" } */
|
|
|
|
int
|
|
main(void)
|
|
{
|
|
void *p = 0;
|
|
int *q = p; /* { dg-warning "not permitted" } */
|
|
double* t = (void *)0;
|
|
return p != q;
|
|
}
|