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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.test-framework/] [dg-error-exp-F.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 ()
6
{       /* { dg-error "return type" "warning test" } */
7
}       /* { dg-error "control reaches end" "warning test" } */
8
 
9
main (int argc, char *argv[])
10
{               /* { dg-error "return type" "warning test" } */
11
}               /* { dg-error "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.