]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/SelfReferringContextInTypeClass.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / SelfReferringContextInTypeClass.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/SelfReferringContextInTypeClass.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/SelfReferringContextInTypeClass.scl
new file mode 100644 (file)
index 0000000..d2f1bd7
--- /dev/null
@@ -0,0 +1,6 @@
+class Ord a where\r
+    min :: Ord a => a -> a -> a\r
+\r
+main = "Not to be executed."\r
+--\r
+2:12-2:15: Unresolved type class Ord.
\ No newline at end of file