summaryrefslogtreecommitdiff
path: root/tests/examples/ex1.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examples/ex1.hs')
-rw-r--r--tests/examples/ex1.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/examples/ex1.hs b/tests/examples/ex1.hs
new file mode 100644
index 0000000..7e924e0
--- /dev/null
+++ b/tests/examples/ex1.hs
@@ -0,0 +1,5 @@
+import Yices.Painless.Language
+
+main = print =<< solve p
+
+p = 0 ==* (1 :: Exp Int)