Debian Codegraph @

build/clang-plugin/tests/TestNANTestingExprC.c

raw
1 /* expected-no-diagnostics */
2 void test(int x);
3 void foo() {
4 float f, f2;
5 typedef double mydouble;
6 mydouble d;
7 double d2;
8 test(f == f);
9 test(d == d);
10 test(f != f);
11 test(d != d);
12 test(f != d);
13 test(d == (d - f));
14 test(f == f2);
15 test(d == d2);
16 test(d + 1 == d);
17 }