aboutsummaryrefslogtreecommitdiffstats
path: root/test/main.cpp
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2020-03-07 14:52:35 +0000
committerbloodstalker <thabogre@gmail.com>2020-03-07 14:52:35 +0000
commite6f28490f1def7e31c4ff36a731f584368935e34 (patch)
tree74151eff4fe15c1843ecc8eb2f03818828849ffc /test/main.cpp
parentcoverage (diff)
downloadcgrep-e6f28490f1def7e31c4ff36a731f584368935e34.tar.gz
cgrep-e6f28490f1def7e31c4ff36a731f584368935e34.zip
more bug fixes as we're getting ready for the first release. still not sure how to handle the test result evaluation.
Diffstat (limited to '')
-rw-r--r--test/main.cpp9
1 files changed, 7 insertions, 2 deletions
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) {}