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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [Wreturn-type2.c] - Rev 853

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

/* Test for cases that should not get the unconditional warning about
   missing return.  */
/* { dg-do compile } */
 
extern void abort (void);
 
f() {}				/* { dg-bogus "" "no return warning" } */
int g() { abort (); }		/* { dg-bogus "" "no return warning" } */
int main() {}			/* { dg-bogus "" "no return warning" } */
 

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

powered by: WebSVN 2.1.0

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