diff options
author | bloodstalker <thabogre@gmail.com> | 2018-11-15 11:18:38 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-11-15 11:18:38 +0000 |
commit | 70090f6a5dad406f38270a2dfa1f302b8627e73b (patch) | |
tree | 63481cb783e53766da44dada00a7510ca0ec0602 /test/main.cpp | |
parent | update (diff) | |
download | cgrep-70090f6a5dad406f38270a2dfa1f302b8627e73b.tar.gz cgrep-70090f6a5dad406f38270a2dfa1f302b8627e73b.zip |
update
Diffstat (limited to 'test/main.cpp')
-rw-r--r-- | test/main.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/main.cpp b/test/main.cpp new file mode 100644 index 0000000..815a48d --- /dev/null +++ b/test/main.cpp @@ -0,0 +1,31 @@ + +class myClass { + public: + myClass(); + ~myClass(); + + void myMehtod1(void) {} + void myMehtod2(void) {} + private: + int a; + float b; +}; + +struct myStruct { + myStruct(); + ~myStruct(); +}; + +void myFunc1(void) {} +void myFunc2(void) {} + +int main (int argc, char** argv) { + myClass mc; + mc.myMehtod1(); + mc.myMehtod2(); + int a; + float b; + int c,d; + a = c+d; + return 0; +} |