bd52d17906
too large to list, but see: http://gcc.gnu.org/gcc-3.4/changes.html http://gcc.gnu.org/gcc-4.0/changes.html http://gcc.gnu.org/gcc-4.1/changes.html for the details.
12 lines
382 B
C
12 lines
382 B
C
/* Test the tester; previously part of gcc.misc-tests/dg-9.c. */
|
|
/* { dg-prms-id 42 } */
|
|
/* { dg-options "-Wall" } */
|
|
|
|
f ()
|
|
{ /* { dg-warning "return type" "warning test" } */
|
|
} /* { dg-warning "control reaches end" "warning test" } */
|
|
|
|
main (int argc, char *argv[])
|
|
{ /* { dg-warning "return type" "warning test" } */
|
|
} /* { dg-warning "control reaches end" "warning test" } */
|