diff options
Diffstat (limited to 'src/plugins/clangcodemodel/test/clangdtests.cpp')
-rw-r--r-- | src/plugins/clangcodemodel/test/clangdtests.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/clangcodemodel/test/clangdtests.cpp b/src/plugins/clangcodemodel/test/clangdtests.cpp index 6efddf7c20..98e720ba25 100644 --- a/src/plugins/clangcodemodel/test/clangdtests.cpp +++ b/src/plugins/clangcodemodel/test/clangdtests.cpp @@ -1298,6 +1298,10 @@ void ClangdTestHighlighting::test_data() QTest::newRow("operator<<") << 934 << 10 << 934 << 14 << QList<int>{C_GLOBAL} << 0; QTest::newRow("operator>>") << 936 << 10 << 936 << 13 << QList<int>{C_GLOBAL} << 0; QTest::newRow("operator>>") << 936 << 17 << 936 << 18 << QList<int>{C_LOCAL} << 0; + QTest::newRow("input arg from passed object") << 945 << 17 << 945 << 18 + << QList<int>{C_FIELD} << 0; + QTest::newRow("output arg") << 945 << 20 << 945 << 23 + << QList<int>{C_LOCAL, C_OUTPUT_ARGUMENT} << 0; } void ClangdTestHighlighting::test() |