]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/ImportRef.scl
Merged changes from feature/scl to master.
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / ImportRef.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/ImportRef.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/ImportRef.scl
deleted file mode 100644 (file)
index 9fb6f62..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-importJava "org.simantics.scl.runtime.procedure.Ref" where\r
-    data Ref a\r
-    \r
-    @JavaName "<init>"\r
-    ref :: a -> <Proc> (Ref a)\r
-    \r
-    @JavaName "value"\r
-    getRef :: Ref a -> <Proc> a\r
-    \r
-    @JavaName "<set>value"\r
-    (:=) :: Ref a -> a -> <Proc> ()\r
-\r
-main = do\r
-    r = ref (13 :: Integer)\r
-    r := (14 :: Integer)\r
-    getRef r\r
---\r
-14
\ No newline at end of file