1 // RUN: %clang_cc1 -verify -fsyntax-only %s
5 void foo(bool b
, float f
);
17 b
= foof(c
< 1); // expected-warning {{implicit conversion turns floating-point number into bool: 'float' to 'bool'}}
19 b
= food(e
< 2); // expected-warning {{implicit conversion turns floating-point number into bool: 'double' to 'bool'}}
21 foo(c
, b
); // expected-warning {{implicit conversion turns floating-point number into bool: 'float' to 'bool'}}