1 /* Test -Wunused-value. Bug 30729. */
2 /* { dg-do compile } */
3 /* { dg-options "-Wunused-value" } */
4 /* Make sure va_arg does not cause a value computed is not used warning
5 because it has side effects. */
12 va_arg(a
, int);/* { dg-bogus "value computed is not used" } */
13 int t1
= va_arg(a
, int);