summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/cppcoreguidelines-narrowing-conversions.cpp
blob: b10b0fa1c3a474ba8256497fcb4e1c5de19ab6c0 (plain)
1
2
3
4
class Foo {
  int f;
  void a_f(double val) { f = val;}
};