]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/Wunused-value-3.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / Wunused-value-3.c
CommitLineData
92061771
JJ
1/* PR c/39889 */
2/* { dg-do compile } */
3/* { dg-options "-Wunused-value" } */
4
5int x;
6int foo (void)
7{
8 return (1 ? x = 0 : (void) 0), 0; /* { dg-bogus "value computed is not used" } */
9}