OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [Wcxx-compat-1.c] - Blame information for rev 247

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.