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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.test-framework/] [dg-warning-exp-P.c] - Blame information for rev 692

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 692 jeremybenn
/* Test the tester; previously part of gcc.misc-tests/dg-9.c.  */
2
/* { dg-prms-id 42 } */
3
/* { dg-options "-Wall" } */
4
 
5
f () {  /* { dg-warning "return type" "warning test" } */
6
}       /* { dg-warning "control reaches end" "warning test" } */
7
 
8
main (int argc, char *argv[]) { /* { dg-warning "return type" "warning test" } */
9
}       /* { 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.