Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / SemaCXX / parentheses.cpp
blobd466bd01389b5c99b63c01be8217287a63902cb3
1 // RUN: %clang_cc1 -verify -Wlogical-op-parentheses %s
3 // PR16930, PR16727:
4 template<class Foo>
5 bool test(Foo f, int *array)
7 return false && false || array[f.get()]; // expected-warning {{'&&' within '||'}} expected-note {{parentheses}}