diff options
Diffstat (limited to '')
-rw-r--r-- | test/nameddecldef.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
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 |