1.0.36.4: muffle style-warnings for undefined slot writers
[sbcl.git] / tests / compiler.test.sh
index bac5690..13d1c75 100644 (file)
@@ -453,5 +453,13 @@ cat > $tmpfilename <<EOF
   (error "ERROR within EVAL-WHEN."))
 EOF
 expect_condition_during_compile sb-c:compiler-error $tmpfilename
+
+cat > $tmpfilename <<EOF
+(defun slot-name-incf (s)
+  (with-slots (no-such-slot) s
+    (incf no-such-slot)))
+EOF
+expect_clean_cload $tmpfilename
+
 # success
 exit $EXIT_TEST_WIN