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/] [ifelse-1.c] - Blame information for rev 455

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

Line No. Rev Author Line
1 149 jeremybenn
/*
2
{ dg-do compile }
3
{ dg-options "-W -Wall" }
4
*/
5
 
6
 
7
extern int bar ();
8
extern int com ();
9
extern int baz ();
10
void
11
foo (a,b)
12
     int a, b;
13
{
14
  if (a)
15
    if (b)
16
      bar ();
17
    else
18
      com ();   /* { dg-bogus ".*warning.*" "bogus warning" } */
19
  else
20
    baz ();
21
}

powered by: WebSVN 2.1.0

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