OSDN Git Service

Target Hook to issue diagnostics for AltiVec argument to funtion
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / unused-3.c
1 /* Copyright (C) 2000  Free Software Foundation.  */
2 /* { dg-do compile } */
3 /* { dg-options "-Wunused" } */
4
5 typedef short unused_type __attribute__ ((unused));
6 main ()
7 {
8   short x;  /* { dg-warning "unused variable" "unused variable warning" } */
9   unused_type y;
10 }