OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.test-framework/] [dg-warning-exp-P.c] - Diff between revs 300 and 384

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 300 Rev 384
/* Test the tester; previously part of gcc.misc-tests/dg-9.c.  */
/* Test the tester; previously part of gcc.misc-tests/dg-9.c.  */
/* { dg-prms-id 42 } */
/* { dg-prms-id 42 } */
/* { dg-options "-Wall" } */
/* { dg-options "-Wall" } */
 
 
f () {  /* { dg-warning "return type" "warning test" } */
f () {  /* { dg-warning "return type" "warning test" } */
}       /* { dg-warning "control reaches end" "warning test" } */
}       /* { dg-warning "control reaches end" "warning test" } */
 
 
main (int argc, char *argv[]) { /* { dg-warning "return type" "warning test" } */
main (int argc, char *argv[]) { /* { dg-warning "return type" "warning test" } */
}       /* { dg-warning "control reaches end" "warning test" } */
}       /* { dg-warning "control reaches end" "warning test" } */
 
 

powered by: WebSVN 2.1.0

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