]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/FromDynamic4.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / FromDynamic4.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/FromDynamic4.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/FromDynamic4.scl
new file mode 100644 (file)
index 0000000..fb4c320
--- /dev/null
@@ -0,0 +1,6 @@
+import "Prelude"\r
+import "Vector"\r
+\r
+main = (fromDynamic (toDynamic ["42"]) :: (Vector Double))!0\r
+--\r
+42.0
\ No newline at end of file