diff options
Diffstat (limited to 'test/main.cpp')
-rw-r--r-- | test/main.cpp | 9 |
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) {} |