1// RUN: %clang_cc1 -verify %s 2 3// PR16930, PR16727: 4template<class Foo> 5bool test(Foo f, int *array) 6{ 7 return false && false || array[f.get()]; // expected-warning {{'&&' within '||'}} expected-note {{parentheses}} 8} 9