summaryrefslogtreecommitdiffstats
path: root/src/test/CppTests
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2019-10-05 16:50:54 +0200
committerChristoph Schlosser <christophschlosser@users.noreply.github.com>2019-10-05 17:03:39 +0200
commit6e749554cc7a47849bd63d7ec1027f084d26b505 (patch)
tree09d14b193a7207e59b7c58e79ce16468bd9e20aa /src/test/CppTests
parent1cf0a3b9762ad5734352fa25514e50caf27ae52f (diff)
downloaddoxdocgen-6e749554cc7a47849bd63d7ec1027f084d26b505.tar.gz
Add arraypointers
Diffstat (limited to 'src/test/CppTests')
-rw-r--r--src/test/CppTests/FunctionPointer.test.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/CppTests/FunctionPointer.test.ts b/src/test/CppTests/FunctionPointer.test.ts
index 7a4383c..cd318ce 100644
--- a/src/test/CppTests/FunctionPointer.test.ts
+++ b/src/test/CppTests/FunctionPointer.test.ts
@@ -44,4 +44,9 @@ suite("C++ - Function pointer Tests", () => {
const result = testSetup.SetLine("void foo(void (SomeClass::* func)());").GetResult();
assert.equal("/**\n * @brief \n * \n * @param func \n */", result);
});
+
+ test("Arraypointer", () => {
+ const result = testSetup.SetLine("void some_function(int (*table)[]);").GetResult();
+ assert.equal("/**\n * @brief \n * \n * @param table \n */", result);
+ });
});