-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstruct.th
More file actions
62 lines (59 loc) · 999 Bytes
/
struct.th
File metadata and controls
62 lines (59 loc) · 999 Bytes
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
typedef int myInt;
namespace Math {
interface MyInterface {
int method();
int method2(int a, int b);
};
template<T>
struct Point implements MyInterface {
constructor(int a, int b) {
};
destructor() {
};
int x;
int b;
int myMethod(int a, int b);
int test();
int test2() {
int a = 10 + 10;
return 0;
}
hidden:
uint64 y;
uint64 f;
int myMethod2(int a, int b);
};
struct Point2 implements MyInterface {
int x;
int b;
int myMethod(int a, int b);
hidden:
uint64 y;
uint64 f;
int myMethod2(int a, int b);
int myMethod3(int a, int b) {
int a = 10 + 10;
return 0;
}
};
struct Point3 {
int a;
};
}
int foo() {
}
int main(int a, int b) {
int a = 10 + 10;
//Math::Point a;
int b = 10 >> 1 + 1;
int c = 10 << 1;
int d = 10 ^ 1;
int e = 10 & 2;
int f = 10 | 2;
int g = 10 % 2;
int h = 10 / 2;
int j = 10 + 2;
int k = 10 - 2;
int l = 10 * 2;
return 0;
}