X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcompiler.pure.lisp;h=604e17684eb89c74c59b77ab9cefd308c8c40b89;hb=260de2062fca170efdac3e42491d7d866c2d2e56;hp=1fd9166bcdce58d5c301abfb877a12fa670e9f87;hpb=a6c4b66e040824da2fc76e101f92940e8412c6d3;p=sbcl.git diff --git a/tests/compiler.pure.lisp b/tests/compiler.pure.lisp index 1fd9166..604e176 100644 --- a/tests/compiler.pure.lisp +++ b/tests/compiler.pure.lisp @@ -4973,4 +4973,10 @@ (with-test (:name :upgraded-array-element-type-undefined-type) (raises-error? (upgraded-array-element-type 'an-undefined-type)) - (raises-error? (upgraded-array-element-type '(and fixnum an-undefined-type)))) + (raises-error? (upgraded-array-element-type '(and fixnum an-undefined-type))) + (compile nil '(lambda () + (make-array 10 + :element-type '(or null an-undefined-type)))) + (compile nil '(lambda () + (make-array '(10 10) + :element-type '(or null an-undefined-type)))))