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