OSDN Git Service

* config/i386.i386.c (ix86_return_in_memory): Reformat. Return true
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.misc-tests / dg-9.c
1 /* Test the tester.  */
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-error "parse" "error test" } */
12                 /* { dg-bogus "foobar" "bogus fail test" } */
13
14   return a;     /* { dg-bogus "undeclared|identifier|appears" "bogus pass test" { xfail *-*-* } } */
15 }               /* { dg-warning "control reaches end" "warning test" } */