summaryrefslogtreecommitdiff
path: root/test/files/run/lisp.check
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2016-02-04 11:38:41 +1000
committerJason Zaugg <jzaugg@gmail.com>2016-02-04 11:38:41 +1000
commit288d4ef1509160b21134e3ddacca5ee8311919ba (patch)
treeb7b335b7f26bf6dbcda43d024c554eb06cbd97f1 /test/files/run/lisp.check
parentda46355a90442636ee7634c31a69eae8e8b9cd42 (diff)
parent333187a7c020b7d51d68c5435852305e70d89d41 (diff)
downloadscala-288d4ef1509160b21134e3ddacca5ee8311919ba.tar.gz
scala-288d4ef1509160b21134e3ddacca5ee8311919ba.tar.bz2
scala-288d4ef1509160b21134e3ddacca5ee8311919ba.zip
Merge remote-tracking branch 'origin/2.12.x' into merge/2.11.x-to-2.12.x-20160203
Diffstat (limited to 'test/files/run/lisp.check')
-rw-r--r--test/files/run/lisp.check26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/files/run/lisp.check b/test/files/run/lisp.check
new file mode 100644
index 0000000000..64053f26d0
--- /dev/null
+++ b/test/files/run/lisp.check
@@ -0,0 +1,26 @@
+(lambda (x) (+ (* x x) 1))
+(lambda (x) (+ (* x x) 1))
+
+( '(1 2 3)) = (1 2 3)
+(car '(1 2 3)) = 1
+(cdr '(1 2 3)) = (2 3)
+(null? '(2 3)) = 0
+(null? '()) = 1
+
+faculty(10) = 3628800
+faculty(10) = 3628800
+foobar = ("a" "bc" "def" "z")
+
+List('lambda, List('x), List('+, List('*, 'x, 'x), 1))
+(lambda (x) (+ (* x x) 1))
+
+( '(1 2 3)) = (1 2 3)
+(car '(1 2 3)) = 1
+(cdr '(1 2 3)) = (2 3)
+(null? '(2 3)) = 0
+(null? '()) = 1
+
+faculty(10) = 3628800
+faculty(10) = 3628800
+foobar = ("a" "bc" "def" "z")
+