summaryrefslogtreecommitdiff
path: root/tp1/test/cm2.mj
diff options
context:
space:
mode:
Diffstat (limited to 'tp1/test/cm2.mj')
-rw-r--r--tp1/test/cm2.mj4
1 files changed, 4 insertions, 0 deletions
diff --git a/tp1/test/cm2.mj b/tp1/test/cm2.mj
new file mode 100644
index 0000000..8863bf1
--- /dev/null
+++ b/tp1/test/cm2.mj
@@ -0,0 +1,4 @@
+main(x) = (s, r) where
+ s = reg (x xor s);
+ r = x and s
+end where \ No newline at end of file