<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/62000>62000</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            libc/test/ctype: missing tests for EOF
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          rillig
      </td>
    </tr>
</table>

<pre>
    The tests loop through all characters from 0 to 255, but they don't test EOF. That case is interesting to test because the implementation casts the `int` to `unsigned`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxEkcGuniwQhq8GN5NjEJRPFyzO_7duuzk3ADoKDYphxjbf3TeSJl2xGN6Hl2ccUdxPRCuG_8TwrXE3h1xsiSnFvfF5fduvgMBITJByvoBDyfcewKUES3DFLYyFYCv5AAmcQQ2DUP-Dvxk44BvWfAr14sqA7z_mFr6CY1gcIUSCeDIWJI7n_qTrLY-LuwmfPMTjSnjgyY5jPp8YUx0II-PJwtRHhZH3Wb-yCiPbZrV6nfTkGrSdGeVoRi1NE-zYrw7N4Kap25ySvZ6mzY84jOPmXNf7JlollZa9fHXd0PWmfblJ6sFLOQ4otUbRSzxcTG1Kv442l72JRDdao6SUTXIeE1WbSp34G-pQKPXILfbJfPh7J9HLFInpH4UjJ7Qp-kWo-bEg1Lzw-0KhP-GIRFVQ3cOWyyOyuUuygfkioT-FmoWa98jh9u2SD6HmB_33-LhK_onLw6yFSKi5Fv4TAAD__2Znpqg">