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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [c-c++-common/] [pr42674.c] - Blame information for rev 686

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 686 jeremybenn
/* PR middle-end/42674 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wreturn-type" } */
4
 
5
extern void bar (void);
6
static int foo (void) __attribute__ ((__noreturn__, __used__));
7
 
8
static int
9
foo (void)
10
{
11
  while (1)
12
    bar ();
13
}

powered by: WebSVN 2.1.0

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