summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/012/quine.expected0
-rw-r--r--tests/012/quine.tl17
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/012/quine.expected b/tests/012/quine.expected
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/tests/012/quine.expected
diff --git a/tests/012/quine.tl b/tests/012/quine.tl
new file mode 100644
index 00000000..f9faac89
--- /dev/null
+++ b/tests/012/quine.tl
@@ -0,0 +1,17 @@
+(load "../common")
+
+(test
+ ((lambda (lambda)
+ ^(,lambda ',lambda))
+ '(lambda (lambda) ^(,lambda ',lambda)))
+ ((lambda (lambda)
+ ^(,lambda ',lambda))
+ '(lambda (lambda) ^(,lambda ',lambda))))
+
+(test
+ ((lambda (lambda)
+ ^((lambda (lambda) ,lambda) ',lambda))
+ '^((lambda (lambda) ,lambda) ',lambda))
+ ((lambda (lambda)
+ ^((lambda (lambda) ,lambda) ',lambda))
+ '^((lambda (lambda) ,lambda) ',lambda)))