d: Merge upstream dmd 568496d5b, druntime 178c44ff, phobos 574bf883b.
[official-gcc.git] / gcc / testsuite / gdc.test / compilable / fix17335.d
blob0e76bb53b7294495cf773da1783b117dadb68e92
1 /*
2 * PERMUTE_ARGS:
3 */
5 // https://issues.dlang.org/show_bug.cgi?id=17335
7 bool alwaysFalse() { return false; }
8 void main()
10 static if (false && a == 1)
13 static if ("a" == "b" && b == 1)
16 static if (alwaysFalse() && c == 1)
19 static if (!alwaysFalse() || d == 1)
22 static if (alwaysFalse() ? e == 1 : 1)
25 static if (!alwaysFalse() ? 1 : f == 1)