diff options
Diffstat (limited to 'tools/clang-tidy/test/clang-analyzer-core.UndefinedBinaryOperatorResult.cpp')
-rw-r--r-- | tools/clang-tidy/test/clang-analyzer-core.UndefinedBinaryOperatorResult.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/clang-tidy/test/clang-analyzer-core.UndefinedBinaryOperatorResult.cpp b/tools/clang-tidy/test/clang-analyzer-core.UndefinedBinaryOperatorResult.cpp new file mode 100644 index 0000000000..1351c35f44 --- /dev/null +++ b/tools/clang-tidy/test/clang-analyzer-core.UndefinedBinaryOperatorResult.cpp @@ -0,0 +1,4 @@ +void test() { + int x; + int y = x + 1; +} |