X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcompiler.test.sh;h=daa3fff45b1597aa5133afd2627887c02f4e65b2;hb=b3907e261afc6af9954b8232b662e04f519f8158;hp=264f474a1c4d1f185f450d764778f38fa2273d31;hpb=778877cd8b0aad3cc3d2555e83d55e9f229678c7;p=sbcl.git diff --git a/tests/compiler.test.sh b/tests/compiler.test.sh index 264f474..daa3fff 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 <