]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/NonassociativeOperator.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / NonassociativeOperator.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/NonassociativeOperator.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/NonassociativeOperator.scl
new file mode 100644 (file)
index 0000000..f2b473a
--- /dev/null
@@ -0,0 +1,7 @@
+infix 3 (+)\r
+\r
+a + b = a\r
+\r
+threeTimes x = x + x + x\r
+--\r
+5:22-5:23: Operator + is not associative.
\ No newline at end of file