<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/102248>102248</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
`#embed` crashes when used in a compound literal
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
zygoloid
</td>
</tr>
</table>
<pre>
This valid C23 source file:
```c
char *p = (char[]){
#embed "/usr/bin/true"
};
```
[crashes clang](https://godbolt.org/z/9q5Wevsvo) somewhere in `InitListChecker::HandleEmbed`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckc-O2yAQh59mfEEbkbFN7AOHZFOrlXqs1DOGiU2LTcofR7tPX5FkVXUly4iBmd-nDxWjnVYiCe0J2nOlcpp9kO9vk3femmr05k3-mG1km3LWsFesWfQ5aGIX6wjqI_Az8I-_4I9PP_Z6VoEBHq8M6jMD7ErhkQTYw-H0bMOalpEMA0TAIccAOIx2BRxSyFSqj3uHM9SnT1H_5bcnHVScKTLt1Drdc7o5pWsspDgADpM3o3dp58MEOLwDDv2f9idtcfOAPYt-odtMgZhdGQj-bbXpu43pdSb9m0IZUx-_qtU4-lKYQfBdZWRt-rpXFcn9AbHv2h6bapacK6WpuQjsL2KveCd40-u2abAVh1rpykrk2PCOC6z3yJudMFoJse-IK9PqA0LDaVHW7ZzblsJc2RgzyT1HbLrKqZFcvD8e4ko3dj8twtpzFWRpehnzFKHhzsYU_41JNjmSxd9TPgjOPuTdZlpZjmSKBMW0X64-r4Y5mygoV-Xg5CerNs153Gm_AA4l5Lm8XIP_RToBDne0CDg82TeJfwMAAP__n1O-lw">