]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/gcc.dg/unused-3.c
re PR c++/14267 (ICE on invalid, cast to lval related)
[gcc.git] / gcc / testsuite / gcc.dg / unused-3.c
CommitLineData
c0916fa0
CM
1/* Copyright (C) 2000 Free Software Foundation. */
2/* { dg-do compile } */
3/* { dg-options "-Wunused" } */
4
5typedef short unused_type __attribute__ ((unused));
6main ()
7{
8 short x; /* { dg-warning "unused variable" "unused variable warning" } */
9 unused_type y;
10}
This page took 1.460682 seconds and 5 git commands to generate.