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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [ifelse-1.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 689 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.