2017-12-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / unused-1.c
blob8db7c2ccfff521d9786c34740cb20cebec32e6d9
1 /* Missing `unused parameter' warning.
2 egcs-1.1.2 fails, egcs-ss-19990418 passes.
3 http://gcc.gnu.org/ml/gcc-bugs/1998-09/msg00199.html */
4 /* { dg-do compile } */
5 /* { dg-options "-O -Wall -W" } */
6 int
7 f(c)
8 char c; /* { dg-warning "unused parameter" "unused parameter warning" } */
10 return 0;