]>
Commit | Line | Data |
---|---|---|
c0916fa0 CM |
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 | } |