summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/clang-analyzer-security.FloatLoopCounter.cpp
blob: 60dcdad746fefd4ee307d6aee55dc6fe05695692 (plain)
1
2
3
void test() {
  for (float x = 0.1f; x <= 1.0f; x += 0.1f) {}
}