File: dg-warning-exp-P.c

package info (click to toggle)
gcc-arm-none-eabi 15%3A5.4.1%2Bsvn241155-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 503,380 kB
  • ctags: 403,175
  • sloc: ansic: 2,522,746; cpp: 711,332; ada: 605,323; makefile: 57,371; asm: 53,777; xml: 44,252; exp: 20,353; sh: 19,517; python: 3,932; perl: 2,691; awk: 2,627; ml: 2,385; pascal: 2,042; yacc: 316; lex: 198; f90: 197; objc: 194; haskell: 109
file content (9 lines) | stat: -rw-r--r-- 380 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
/* 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" } */