summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/misc-redundant-expression.cpp
blob: 0ccc9c55f76dc8f9c9b129502244cf023efff50d (plain)
1
2
3
int TestSimpleEquivalent(int X, int Y) {
  if (X - X) return 1;
}