From e6f28490f1def7e31c4ff36a731f584368935e34 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sat, 7 Mar 2020 18:22:35 +0330 Subject: more bug fixes as we're getting ready for the first release. still not sure how to handle the test result evaluation. --- test/compile_commands.json | 6 +++--- test/main.cpp | 9 +++++++-- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/compile_commands.json b/test/compile_commands.json index a12a8fc..4f584fd 100644 --- a/test/compile_commands.json +++ b/test/compile_commands.json @@ -1,7 +1,7 @@ [ { - "command": "c++ -c -std=c++11 -fpic -o main.o main.cpp", - "directory": "/home/bloodstalker/devi/abbatoir/hole114", - "file": "/home/bloodstalker/devi/abbatoir/hole114/main.cpp" + "command": "c++ -c -std=c++11 -fpic -o main.o main.cpp", + "directory": "/home/bloodstalker/extra/cgrep/test", + "file": "/home/bloodstalker/extra/cgrep/test/main.cpp" } ] \ No newline at end of file diff --git a/test/main.cpp b/test/main.cpp index 815a48d..5c2ceb8 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -1,8 +1,8 @@ class myClass { public: - myClass(); - ~myClass(); + myClass() = default; + ~myClass() {} void myMehtod1(void) {} void myMehtod2(void) {} @@ -16,6 +16,11 @@ struct myStruct { ~myStruct(); }; +union myUnion { + int a; + double b; +}; + void myFunc1(void) {} void myFunc2(void) {} -- cgit v1.2.3