X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcompiler.test.sh;h=25c208c26d9c7632df998d0fbc18b7f2d38b7436;hb=2f6561ed6ca9478d801ebd2413cc9b4538c8e2eb;hp=4c731b23dc1e1721e02bf35b695b9990e6697692;hpb=5b43e28a5a9f0fcdefc2132840492e2e382876c6;p=sbcl.git diff --git a/tests/compiler.test.sh b/tests/compiler.test.sh index 4c731b2..25c208c 100644 --- a/tests/compiler.test.sh +++ b/tests/compiler.test.sh @@ -11,7 +11,7 @@ # absolutely no warranty. See the COPYING and CREDITS files for # more information. -. expect.sh +. ./expect.sh base_tmpfilename="compiler-test-$$-tmp" tmpfilename="$base_tmpfilename.lisp" @@ -50,6 +50,23 @@ 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 <