FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / gcc.dg / unused-3.c
blob259b8d0fb79c0c134f4221f89e71122a98888b54
1 /* Copyright (C) 2000 Free Software Foundation. */
2 /* { dg-do compile } */
3 /* { dg-options "-Wunused" } */
5 typedef short unused_type __attribute__ ((unused));
6 main ()
8 short x; /* { dg-warning "unused variable" "unused variable warning" } */
9 unused_type y;