1 #include <stdio.h> 2 3 int main()4main() { 5 double nonsense = 0.0; 6 long bogus = 0; 7 8 /* 9 * This was broken... seems implicit fp zero comparisons need 10 * some attention - thus a new testcase 11 */ 12 if (nonsense && nonsense <= bogus) { 13 puts("ahhaha lololol"); 14 } else { 15 puts("ok"); 16 } 17 nonsense = 1; 18 ++bogus; 19 ++bogus; 20 if (nonsense && nonsense <= bogus) { 21 puts("ok"); 22 } 23 return 0; 24 } 25 26