Add test for my commit 0e8649... of last week
authorDouglas Katzman <dougk@google.com>
Mon, 11 Nov 2013 22:53:37 +0000 (17:53 -0500)
committerDouglas Katzman <dougk@google.com>
Mon, 11 Nov 2013 22:53:37 +0000 (17:53 -0500)
tests/compiler.pure.lisp

index 7002c7c..4ef01f1 100644 (file)
                                   (typep x '(member 1 3 15)))))
                  `(function ((or (integer 1 1) (integer 3 3)))
                             (values (member t) &optional)))))
+
+(with-test (:name :quietly-row-major-index-no-dimensions)
+  (assert (handler-case
+              (compile nil `(lambda (x) (array-row-major-index x)))
+            (warning () nil))))