]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/SelfReferringContextInTypeClass.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / SelfReferringContextInTypeClass.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/SelfReferringContextInTypeClass.scl b/bundles/org.simantics.scl.compiler/tests/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