]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/MissingMethod.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / MissingMethod.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/MissingMethod.scl b/tests/org.simantics.scl.compiler.tests/src/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