linux下编程用
编译软件
源代码在线查看: dg-warning-exp-p.c
- f () { } main (int argc, char *argv[]) { }
/* 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" } */