2 /* { dg-do compile } */
3 /* { dg-options "-Wunused" } */
8 int a
, b
, c
, d
, e
, f
, g
;
16 a
; /* { dg-warning "no effect" } */
17 b
, 1; /* { dg-warning "no effect" } */
19 (void) d
, 1; /* { dg-warning "no effect" } */
20 e
, f
, 1; /* { dg-warning "no effect" } */
21 (void) g
, f
, 1; /* { dg-warning "no effect" } */
29 int c
; /* { dg-warning "set but not used" } */
47 d
, ( a
++, b
), c
; /* { dg-warning "no effect" } */