aboutsummaryrefslogtreecommitdiffstats
path: root/test/cxxrecorddecl.cpp
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2020-06-04 14:25:14 +0000
committerbloodstalker <thabogre@gmail.com>2020-06-04 14:25:14 +0000
commit2948f61947b9790a29d34fc48d8e5683467919db (patch)
treeceff93e8c5a38fa9b0056b432672e7205bf5f0d8 /test/cxxrecorddecl.cpp
parentadding llvm11 to travis (diff)
downloadcgrep-2948f61947b9790a29d34fc48d8e5683467919db.tar.gz
cgrep-2948f61947b9790a29d34fc48d8e5683467919db.zip
added a new switch:recorddecl. the test script is still WIP.
Diffstat (limited to 'test/cxxrecorddecl.cpp')
-rw-r--r--test/cxxrecorddecl.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/cxxrecorddecl.cpp b/test/cxxrecorddecl.cpp
new file mode 100644
index 0000000..961bf28
--- /dev/null
+++ b/test/cxxrecorddecl.cpp
@@ -0,0 +1,15 @@
+
+namespace cxxrecorddecl_ns{
+class testClass {
+public:
+ testClass();
+ virtual ~testClass();
+
+private:
+ /* data */
+};
+
+struct testStruct {
+ /* data */
+};
+}; // namespace