1 // RUN: %clang_cc1 -std=c++17 -verify %s -Wno-tautological-compare
3 void f(int i
, bool b
) {
7 (void)++b
; // expected-error {{ISO C++17 does not allow incrementing expression of type bool}}
8 (void)b
++; // expected-error {{ISO C++17 does not allow incrementing expression of type bool}}