// PR c++/50961 template < class > void foo (); bool b1 = !foo; bool b2 = foo ? true : false; void bar() { if (foo) ; }