blob: c9e57f79b54b509a4e17abb271ee88b496d7ca38 [file] [log] [blame]
// { dg-do compile }
// { dg-options "-Wunused-value" }
extern void f1();
void
f(bool b)
{
b ? f1(), 0 : 0; // { dg-bogus "has no effect" }
}