]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ClashingValueType.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / ClashingValueType.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ClashingValueType.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ClashingValueType.scl
new file mode 100644 (file)
index 0000000..d248d20
--- /dev/null
@@ -0,0 +1,6 @@
+\r
+id :: Integer -> Integer\r
+id :: Double -> Double\r
+id x = x\r
+--\r
+3:1-3:23: Type of id has already been declared in this module.
\ No newline at end of file