summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/bugprone-integer-division.cpp
blob: 058edffe3939c73e88f3be87207b7df7c74d8bfe (plain)
1
2
3
4
5
float f() {
  int a = 2;
  int b = 10;
  return a/b;
}