From 2948f61947b9790a29d34fc48d8e5683467919db Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Thu, 4 Jun 2020 18:55:14 +0430 Subject: added a new switch:recorddecl. the test script is still WIP. --- test/nameddecldef.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 test/nameddecldef.cpp (limited to 'test/nameddecldef.cpp') diff --git a/test/nameddecldef.cpp b/test/nameddecldef.cpp new file mode 100644 index 0000000..f4360af --- /dev/null +++ b/test/nameddecldef.cpp @@ -0,0 +1,21 @@ + +namespace nameddecldef_ns{ +int testVar; +struct testStruct { + int a; + int b; + char *c; +}; + +void testFunction(void); +void testFunction(void) { return; } + +class testClass { +public: + testClass(); + virtual ~testClass(); + +private: + int myPrivate; +}; +}; // namespace -- cgit v1.2.3