1 2 3 4 5 6 7 8 9
struct T { }; T foo(); void bar(int a, int b) { if (foo() && a < b) // { dg-error "13:no match for 'operator&&'" } ; }