summaryrefslogtreecommitdiffhomepage
path: root/Examples/ExampleCDialect.c
blob: e6d92fb651d138f5c8f7bf0e6dc01936fcd5b20f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
struct
{
	int a;
	int b;
	int c;
};

int __ImageStart(int argc, char const* argv[])
{
	int* foo = 0x1000;

	if (foo == 57)
	{
		foo	 = 0x2000;
		*foo = 5;
		return foo;
	}

	return 57;
}