summaryrefslogtreecommitdiffstats
path: root/src/test/CppTests/FunctionPointer.test.ts
diff options
context:
space:
mode:
authorZongyuan Zuo <eternalphane@gmail.com>2019-11-16 11:13:48 +0800
committerGitHub <noreply@github.com>2019-11-16 11:13:48 +0800
commit05fee9e8eb71c8ed1c3f6e47110040c105cd42eb (patch)
tree74a7de00fc142bcac8e93bf724553d9efd536847 /src/test/CppTests/FunctionPointer.test.ts
parent5648d5ed96d6150f14530f14df5842dc248bf4be (diff)
parentd12cfa9537790ce3489967f77de18ef52717daeb (diff)
downloaddoxdocgen-05fee9e8eb71c8ed1c3f6e47110040c105cd42eb.tar.gz
Merge branch 'master' into master
Diffstat (limited to 'src/test/CppTests/FunctionPointer.test.ts')
-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);
+ });
});