]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/InstanceTypeVariables.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / InstanceTypeVariables.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/InstanceTypeVariables.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/InstanceTypeVariables.scl
new file mode 100644 (file)
index 0000000..e4ee646
--- /dev/null
@@ -0,0 +1,10 @@
+class Foo a b where\r
+    foo :: a -> b\r
+\r
+instance Foo a a where\r
+    foo x = x :: a\r
+\r
+main = "OK"\r
+--\r
+OK\r
+\r