]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ExistentialData2.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / ExistentialData2.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ExistentialData2.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ExistentialData2.scl
new file mode 100644 (file)
index 0000000..b029969
--- /dev/null
@@ -0,0 +1,7 @@
+data Thunk a = /* forall s. */ Thunk s (s -> a)\r
+\r
+mixThunks (Thunk s0 f0) (Thunk s1 f1) = f0 s1\r
+\r
+main = "Not to be executed!"\r
+--\r
+3:44-3:46: Expected <a> got <b>.
\ No newline at end of file