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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [decl-5.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* PR c/14114 */
2
/* Origin: <snyder@fnal.gov> */
3
/* { dg-do compile } */
4
/* { dg-options "-O2 -g" } */
5
 
6
/* This used to fail because the compiler thought that the
7
   declaration of 'c' from 'b' was shadowing that from 'a'.  */
8
 
9
void a()
10
{
11
  void c();
12
  c();
13
}
14
 
15
void b()
16
{
17
  void c();
18
}
19
 
20
void c() {}

powered by: WebSVN 2.1.0

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