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

    <tr>
        <th>Summary</th>
        <td>
            #embed incorrectly assumes numbers are negative
        </td>
    </tr>

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

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

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

<pre>
    very hard to reproduce as I have no idea what triggers it. it should never ever happen though.

```cpp
static constexpr unsigned char data[] = {
#if __has_embed("data.bin")
#embed "data.bin"
#endif
};
```

`error: constexpr initializer evaluates to -41 which is not exactly representable in type 'const unsigned char'`
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxcktGK4zwMhZ_GuRFTYjlpJhe56FD681_vAwxKrMZeEjvYSjvdp1-SDrOzC8I2HPnw6SDK2Y-BuVP1m6rPBa3iYup-SGKWOyX-j2bORR_to7txeoCjZEEiJF5StOvAQBn-B0c3hhDBWya4OxKQ5MeRUwYvB_AC2cV1shD4xgn2w9GycABxcR3dQZWnrY7ls4ZlUeUpC4kfYIghC38sCdaw81oYHCWwJPQEB2XOoJq3zQKNv8L7u6P8znPPVuGrQtx6D70PClFh--zbZfhHfCrB-uv2bM7KvH0H--LklGJS5vSNzgcvnib_ax-RppWE85bWS6Xh7vzgwGcIUYA_aJDpscfImYNQPzH4APJYGBQ2u-nf4yps1LEsbGdsa1oquNONMU1j2lYXrtP42jel1VWF1xoH3VTXRtd47M1rU2vdFr7DEiuNZavb2mh9MFzWNQ1sK0s1o1FVyTP56TBNt_kQ01j4nFfutG6xPhYT9TzlfVMQA99hV7fI6nORuu3TS7-OWVXl5LPkPzbiZeLuK3AfhpgS7wFQzuvMGcI699u2UGIIPJL4GxdrmjonsmRlTgovCi-jF7f2hyHOCi-b_-f1sqT4kwdReNmpssLLJ_atw98BAAD__xXu7n8">