diff options
Diffstat (limited to 'tools/clang-tidy/test/clang-analyzer-core.CallAndMessage.cpp')
-rw-r--r-- | tools/clang-tidy/test/clang-analyzer-core.CallAndMessage.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/clang-tidy/test/clang-analyzer-core.CallAndMessage.cpp b/tools/clang-tidy/test/clang-analyzer-core.CallAndMessage.cpp new file mode 100644 index 0000000000..286189e25b --- /dev/null +++ b/tools/clang-tidy/test/clang-analyzer-core.CallAndMessage.cpp @@ -0,0 +1,10 @@ +struct S { + int x; +}; + +void f(struct S s); + +void test() { + struct S s; + f(s); +} |