]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Deriving4.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / Deriving4.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Deriving4.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Deriving4.scl
new file mode 100644 (file)
index 0000000..03ea0d6
--- /dev/null
@@ -0,0 +1,9 @@
+import "Prelude"
+
+data Foo = Foo Integer Long Double Float
+
+deriving instance Show Foo
+
+main = show (Foo (-1) (-1) (-1) (-1))
+--
+Foo (-1) (-1) (-1.0) (-1.0)
\ No newline at end of file