]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ClashingClass.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / ClashingClass.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ClashingClass.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ClashingClass.scl
new file mode 100644 (file)
index 0000000..dee1e8d
--- /dev/null
@@ -0,0 +1,8 @@
+\r
+class A a where\r
+    foo :: a\r
+    \r
+class A a where\r
+    bar :: a\r
+--\r
+5:1-6:13: Class A has already been defined in this module.
\ No newline at end of file