X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcompiler.test.sh;h=5b891d29cc9e69501e582a024d9c32bcf7b8a457;hb=4f8f4b25cb564509437d8fc26038143150077f14;hp=fd948bf10e3fe68824ed3a71e3669e229560095a;hpb=ea4b766a763ce8a2978b937e665a3eb8fd7e5bcb;p=sbcl.git diff --git a/tests/compiler.test.sh b/tests/compiler.test.sh index fd948bf..5b891d2 100644 --- a/tests/compiler.test.sh +++ b/tests/compiler.test.sh @@ -6,7 +6,7 @@ # While most of SBCL is derived from the CMU CL system, the test # files (like this one) were written from scratch after the fork # from CMU CL. -# +# # This software is in the public domain and is provided with # absolutely no warranty. See the COPYING and CREDITS files for # more information. @@ -39,17 +39,34 @@ expect_failed_compile $tmpfilename # having the same name. cat > $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < y 1) (funcall (if (> y 0) #'foo #'identity) y)))) +EOF +expect_clean_compile $tmpfilename + # This shouldn't fail despite the apparent type mismatch, because of # the NOTINLINE declaration. cat > $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename < $tmpfilename <