summaryrefslogtreecommitdiff
path: root/pit/test/horriblebindingbug.pit
diff options
context:
space:
mode:
Diffstat (limited to 'pit/test/horriblebindingbug.pit')
-rw-r--r--pit/test/horriblebindingbug.pit6
1 files changed, 6 insertions, 0 deletions
diff --git a/pit/test/horriblebindingbug.pit b/pit/test/horriblebindingbug.pit
new file mode 100644
index 0000000..7f48b69
--- /dev/null
+++ b/pit/test/horriblebindingbug.pit
@@ -0,0 +1,6 @@
+(defun! broken (ops) nil)
+(defun! test (ops)
+ (let ((oldops ops))
+ (broken 'foo)
+ (assert! 'horriblebindingbug oldops ops)))
+(test '(1 2 3))