From 30eced928c404caae41d62f238270f00bdf7c25b Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Fri, 2 Oct 2015 15:34:38 -0400 Subject: start an example compiler for a subset of C --- minic/test.minic | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 minic/test.minic (limited to 'minic/test.minic') diff --git a/minic/test.minic b/minic/test.minic new file mode 100644 index 0000000..8d30eb1 --- /dev/null +++ b/minic/test.minic @@ -0,0 +1,9 @@ +{ + int x; + int *p; + + x = 0; + p = &x; + while (x < 10) + *p = x + 1; +} -- cgit 1.4.1