blob: fd225436be82bf45326695f51e8d09ea35692079 [file] [log] [blame]
// RUN: clang-cc -fsyntax-only -Wunused-variable -verify %s
struct s0 {
unsigned int i;
};
int proto(int a, int b);
void f0(void) {
int a __attribute__((unused)),
b; // expected-warning{{unused}}
return;
}
void f1(void) {
int i;
(void)sizeof(i);
return;
}