]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/ConstructorNameClash.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / ConstructorNameClash.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/ConstructorNameClash.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/ConstructorNameClash.scl
new file mode 100644 (file)
index 0000000..52826a5
--- /dev/null
@@ -0,0 +1,7 @@
+\r
+data Vec2 = Vec2 Double Double\r
+data Vec3 = Vec2 Double Double Double\r
+\r
+main = "Not to be executed."\r
+--\r
+3:13-3:38: Value Vec2 is already defined.
\ No newline at end of file