blob: 008bedf97769127931dea377e36ebf6b2110a376 [file] [log] [blame]
// RUN: clang -parse-ast-check %s
int foo(float x, float y) {
return x == y; // expected-warning {{comparing floating point with ==}}
}
int bar(float x, float y) {
return x != y; // expected-warning {{comparing floating point with ==}}
}