summaryrefslogtreecommitdiff
path: root/tests/cm2.mj
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2013-11-05 10:18:00 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2013-11-05 10:18:00 +0100
commit94e88e887cf2ee4c6b445924d26e134a90bcbd50 (patch)
tree14090e40b781d9469c794cb3ed4239115f89edac /tests/cm2.mj
parent7950298bf80fd1d1f311e7bd4f75b442df7c679c (diff)
downloadSystDigit-Projet-94e88e887cf2ee4c6b445924d26e134a90bcbd50.tar.gz
SystDigit-Projet-94e88e887cf2ee4c6b445924d26e134a90bcbd50.zip
Reorganized folders.
Diffstat (limited to 'tests/cm2.mj')
-rw-r--r--tests/cm2.mj4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/cm2.mj b/tests/cm2.mj
new file mode 100644
index 0000000..8863bf1
--- /dev/null
+++ b/tests/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