Commit cf3528b6 authored by pfdietz's avatar pfdietz

Added tests for declarations in macrolet (cmucl bug, spotted by rtoy).

parent 0bdce9a7
......@@ -362,6 +362,25 @@
(macrolet ((%m (()) :good)) (%m ()))
:good)
;;; Test that macrolets accept declarations
(deftest macrolet.40
(macrolet ((%x () t))
(declare (optimize)))
nil)
(deftest macrolet.41
(macrolet ((%x () t))
(declare (optimize))
(declare (notinline identity)))
nil)
(deftest macrolet.42
(macrolet ((%x () t))
(declare (optimize))
(%x))
nil)
;;; Symbol-macrolet tests
(deftest symbol-macrolet.1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment