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

    <tr>
        <th>Summary</th>
        <td>
            Missing diagnostics: error: invalid application of '_Alignof' to incomplete type
        </td>
    </tr>

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

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

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

<pre>
    ```
int x = _Alignof(int []);
```
Expected diagnostics:
```
error: invalid application of '_Alignof' to incomplete type
```
Actual diagnostics:
```
<nothing>
```
C11:
> If the **size is not present**, the array type is an **incomplete type**.
> The **_Alignof** operator **shall not be applied** to a function type or an **incomplete type**.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJylU8GO2yAQ_Rp8QY3sIU7iAwdvkkp76K33Cttjm4oAAry76dd3QrKNFEVqpUojwTBv5j2GoXPDWbJNebPywMpW28Q_OBMH_qM1erJuZLC7HLL6hdUHBg0TL1foQ-bxw2OfcOCDVpQXk-4jE-1TLIbgAgW5tm_K6IEr743uVdLOcjdyBts7_ZYnR8DenbzBhDydPT6t2vZpUeZf-JnYW5dmbScmjk8R-6q6J4sjfx15mpGEtWRR_0KuI6ca3AeMaNM1wGCfYSoEdc5CLzBlb3mPl8iHqzvJ9z8M99tfPO48BpVc-OSflTGZvcNr63C4IalVio-L7XMrswJK-4uCYpBiaESjiqSTQflNx0i9eegk_-9XK5Zg5JySzw8DX8kmnealWxGMHGPePpcvPrifNE_kkpgFI23qNUBTzHIDw9Bvod7tALY7IcSITYVNVze4hQqwMKpDE-VlZAEsvvNcgvY0wYWWUAKUotxUYl2XsOpo6RUKxG4DGxBsXeJJabO66Fi5MBVBZkndMkUKGh1TvAcV9WqyiPL6Qwq1pNkF6U8uVKLIzDIr_w2pqwrB">