Fix broken MinGW build of gcc.c
[official-gcc.git] / gcc / testsuite / g++.dg / warn / Wunused-16.C
blobc9e57f79b54b509a4e17abb271ee88b496d7ca38
1 // { dg-do compile }
2 // { dg-options "-Wunused-value" }
4 extern void f1();
5 void
6 f(bool b)
8   b ? f1(), 0 : 0;      // { dg-bogus "has no effect" }