]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/TypeAnnotation1.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / TypeAnnotation1.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/TypeAnnotation1.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/TypeAnnotation1.scl
new file mode 100644 (file)
index 0000000..5ba565f
--- /dev/null
@@ -0,0 +1,5 @@
+id x = x :: Integer\r
+\r
+main = id "foo"\r
+--\r
+3:11-3:16: Expected <Integer> got <String>.
\ No newline at end of file