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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.test-framework/] [dg-warning-exp-P.c] - Blame information for rev 825

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

Line No. Rev Author Line
1 149 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 ()
6
{       /* { dg-warning "return type" "warning test" } */
7
}       /* { dg-warning "control reaches end" "warning test" } */
8
 
9
main (int argc, char *argv[])
10
{               /* { dg-warning "return type" "warning test" } */
11
}               /* { 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.