]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Maybe1.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / Maybe1.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Maybe1.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Maybe1.scl
new file mode 100644 (file)
index 0000000..98a7d71
--- /dev/null
@@ -0,0 +1,6 @@
+a = Nothing\r
+main = match a with\r
+    Nothing -> "Correct"\r
+    Just x -> "Incorrect"\r
+--\r
+Correct
\ No newline at end of file