aboutsummaryrefslogtreecommitdiffstats
path: root/test/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/main.cpp31
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;
+}