]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/MissingMethod.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / MissingMethod.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/MissingMethod.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/MissingMethod.scl
new file mode 100644 (file)
index 0000000..d5b1b27
--- /dev/null
@@ -0,0 +1,12 @@
+class FooBar a where\r
+    foo :: a -> a\r
+    bar :: a -> a\r
+    \r
+instance FooBar Integer where\r
+    foo x = x\r
+\r
+main = "Not to be executed."\r
+--\r
+5:1-6:14: Method bar is not defined.\r
+    \r
+\r