]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Matching3.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / Matching3.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Matching3.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Matching3.scl
new file mode 100644 (file)
index 0000000..904a843
--- /dev/null
@@ -0,0 +1,10 @@
+\r
+a = 5 :: Long\r
+main = match a with\r
+  1 -> "wrong"\r
+  2 -> "wrong"\r
+  5 -> "right"\r
+  6 -> "wrong"\r
+  _ -> "wrong"\r
+--\r
+right
\ No newline at end of file