repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
unused-3.c
blob
259b8d0fb79c0c134f4221f89e71122a98888b54
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
}