summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/bugprone-misplaced-widening-cast.cpp
blob: e75541bf6e4af24433d12339a5974c5c0c50d86b (plain)
1
2
3
long f(int x) {
    return (long)(x * 1000);
}