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

    <tr>
        <th>Summary</th>
        <td>
            clang-16 / llvm segmentation fault when compiling code with empty "delimited escape sequence"
        </td>
    </tr>

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

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

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

<pre>
    I am learning C and was testing out escape sequences to see what they do. Clang / LLVM seems to crash on Termux (haven't tested on any other computer) when compiling code with an empty "delimited escape sequence" like below:

printf("\o{}");

I have attached a zip archive with the relevant files (because for some reason GitHub doesn't allow me to attach .c or .sh files because they're "not supported", as if they're somehow special) 

Included is a text file with the output of this crash (error.txt) as well as the two other files it asked me to attach to this bug report (a copy of my .c source and a .sh file). I am willing to provide more information if needed.

[attachments.zip](https://github.com/user-attachments/files/16515551/attachments.zip)


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMVMGu4zYM_Br5QjzDZuw4PvjQlyDtAttb0bssMbG6suRKVPyyX1_ISbvZBVr0EiESOZwZkpYxmqsjGkT7LtpTIRNPPgxuP-2L0ev78AnkDJZkcMZd4QjSaVhlBKbI-cYnBopKLgSR_kzkFEVgD5EI1kky8ER30L6Eo5XuCgLP8Pnz77_mgHmLVEHGCbyD3yjM6QMEHiZ5Iyew460M6fwq3R08TxRA-XlJTEFgD-tEbrswNrNRXhOshieQDmhe-A4CUZM1s8k4PzAViGDNF4KRrF_F7idRnUT1_F2CcXwReBCIoj160b2L7pT_YC9276-hnyAzBsks1UQaJHw1C8igJnN78uGJIJClm3QMF2MpZqEjKZkiwcUHiH7OITJ6Bz8b_iWNoD3Fhw_SWr_CTNmwRxkoFfgAZZyecH9jZcMFdoGydOcZYloWH5j0xv0IMoK5vITlwpNfIS6kjLTZ1u_EOWWTJg0mggSmjwf_b7J84iUx-Ixp4rOfAg8Ugg8lf3BGlBFWsjafOYdX_-zmg7xhkPEL6e8lsn9AjukKgbKIjCtB-eWe68337EL0KSjaJlP-44fAvoRteFdjt9lgD0vwN6MJZh8IjLv4MEs23mU_HJEmXb4qF-37g8hMjmP51SyiPeXxZF5inhY8CzxfDU9pLJWfBZ5TpPD2kiTwvAkUeK73bd22bS3w_CMq9q9lCz3sdL_rZUFD3SH2XVftumIacKcaVHrf1d1urzRdml7tse_Gphl1Ux0KM2CFTXWo9lg1u7YrK9XWh7ZXtWz6ummVaCqapbGltbe59OFamBgTDXWFWB8KK0eycfsWIDpaYXvd5v9UhCEnvY3pGkVTWRM5foNhw5YGlVf8rd5vW57fINI1y3y4fJHJ8r-v7P_a1yIFO_xHA3LV5_G2BP8HKRZ43nRsTXgIvQ34VwAAAP__2Hekag">