]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/BooleanId.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / BooleanId.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/BooleanId.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/BooleanId.scl
new file mode 100644 (file)
index 0000000..2044c1c
--- /dev/null
@@ -0,0 +1,12 @@
+@private\r
+@inline\r
+not True = False\r
+not False = True\r
+\r
+@private\r
+@inline\r
+id x = not (not x)\r
+\r
+main = id True\r
+--\r
+true
\ No newline at end of file