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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [warn/] [Wunused-6.C] - Blame information for rev 831

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

Line No. Rev Author Line
1 149 jeremybenn
/* PR middle-end/14203 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wall" } */
4
 
5
void foo()
6
{
7
  if (false)
8
    if (int i=0)  // { dg-warning "unused" "" }
9
      int j=0;    // { dg-warning "unused" "" }
10
}
11
 

powered by: WebSVN 2.1.0

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