summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/readability-magic-numbers.cpp
blob: 430fa1705623cf76127c04a3e057830ce1a66845 (plain)
1
2
3
4
void func() {
  int radius = 2;
  double circleArea = 3.1415926535 * radius * radius;
}