tenfourfox/build/clang-plugin/tests/TestNANTestingExprC.c
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

18 lines
288 B
C

/* expected-no-diagnostics */
void test(int x);
void foo() {
float f, f2;
typedef double mydouble;
mydouble d;
double d2;
test(f == f);
test(d == d);
test(f != f);
test(d != d);
test(f != d);
test(d == (d - f));
test(f == f2);
test(d == d2);
test(d + 1 == d);
}