Floating point variables shall not be used as loop counters
// ForStmt [ Init::ExprStmt [ descendant::IdExpr [ isFloatPoint() ] ] ]
1 void test197() 2 { 3 int y,i,x = 0; 4 float j,x1 = 0; 5 for (x = 0; x < y; x = y++); 6 for (x1 = 0; x < 15; x++); // MATCHES 7 for (x1 = 0; x < j; x++); // MATCHES 8 for (x1 = 0; x < j; x = j++); // MATCHES 9 for (x = 0; i < 15; i++); 10 }