]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/NoInstance.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / NoInstance.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/NoInstance.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/NoInstance.scl
new file mode 100644 (file)
index 0000000..4bc5cab
--- /dev/null
@@ -0,0 +1,9 @@
+\r
+class Foo a where\r
+    foo :: a\r
+\r
+x :: Double\r
+x = foo\r
+\r
+--\r
+6:5-6:8: Constraint <Foo Double> is not given and cannot be derived.
\ No newline at end of file