mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 11:15:34 +00:00
7afb1a818c
--HG-- extra : rebase_source : d80c866ecc7e5f415c83db757e82bd4bac299b67
18 lines
288 B
C
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);
|
|
}
|