diff options
Diffstat (limited to '')
-rw-r--r-- | tools/clang-tidy/test/misc-redundant-expression.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/clang-tidy/test/misc-redundant-expression.cpp b/tools/clang-tidy/test/misc-redundant-expression.cpp new file mode 100644 index 0000000000..0ccc9c55f7 --- /dev/null +++ b/tools/clang-tidy/test/misc-redundant-expression.cpp @@ -0,0 +1,3 @@ +int TestSimpleEquivalent(int X, int Y) { + if (X - X) return 1; +} |