diff options
author | bloodstalker <thabogre@gmail.com> | 2020-06-04 14:25:14 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2020-06-04 14:25:14 +0000 |
commit | 2948f61947b9790a29d34fc48d8e5683467919db (patch) | |
tree | ceff93e8c5a38fa9b0056b432672e7205bf5f0d8 /test/classdecl.cpp | |
parent | adding llvm11 to travis (diff) | |
download | cgrep-2948f61947b9790a29d34fc48d8e5683467919db.tar.gz cgrep-2948f61947b9790a29d34fc48d8e5683467919db.zip |
added a new switch:recorddecl. the test script is still WIP.
Diffstat (limited to 'test/classdecl.cpp')
-rw-r--r-- | test/classdecl.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/classdecl.cpp b/test/classdecl.cpp new file mode 100644 index 0000000..70e3625 --- /dev/null +++ b/test/classdecl.cpp @@ -0,0 +1,19 @@ + +namespace classdecl_ns{ +class testClass { +public: + testClass(); + virtual ~testClass(); + +private: +}; + +#define classdeclmacro classDeclMacroExpanded +class anotherTestClass { +public: + anotherTestClass(); + virtual ~anotherTestClass(); + +private: +}; +}; // namespace |