aboutsummaryrefslogtreecommitdiffstats
path: root/test/main.cpp
blob: c48f5fb72fd6cef9ea69774fcb86ce37c9d63b3b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
class myClassmain {
public:
  myClassmain() = default;
  ~myClassmain() {}

  void myMehtod1(void) {}
  void myMehtod2(void) {}

private:
  int a;
  float b;
};

struct myStruct {
  myStruct();
  ~myStruct();
};

union myUnion {
  int a;
  double b;
  int app;
};

struct verymuchStruct {
  int myinteger;
  int yourinteger;
  int ourinteger;
};

void myFunc1(void) {}
void myFunc2(void) {}

int main(int argc, char **argv) {
  myClassmain mc;
  mc.myMehtod1();
  mc.myMehtod2();
  int a;
  float b;
  int c, d;
  a = c + d;
  return 0;
}