aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test.c')
-rw-r--r--tests/test.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test.c b/tests/test.c
new file mode 100644
index 0000000..8eb344a
--- /dev/null
+++ b/tests/test.c
@@ -0,0 +1,8 @@
+int main()
+{
+ volatile int *mem = (int *)0x200;
+ *mem = 24;
+ for (int i = 0; i < 8; ++i)
+ *mem += 2;
+ return *mem;
+}