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