URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* 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 ()
|
f ()
|
{ /* { dg-warning "return type" "warning test" } */
|
{ /* { 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[])
|
main (int argc, char *argv[])
|
{ /* { dg-warning "return type" "warning test" } */
|
{ /* { dg-warning "return type" "warning test" } */
|
} /* { dg-warning "control reaches end" "warning test" } */
|
} /* { dg-warning "control reaches end" "warning test" } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.