<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/58434>58434</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Wrong error "expected expression" in parsing of braced-init-list inside template argument list
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
AndreyG
</td>
</tr>
</table>
<pre>
Repro (https://gcc.godbolt.org/z/ehMnoqf7h):
```
template<int>
void f();
void test() {
f<{42}>();
}
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxdUU1v5CAM_TXkgiYikM8Dh2lnd0976aVnCE5CxUAWSD_219dJp6paCYTt52c_Gx3Mm3yANQZKeL_kvCYizoT_xjOPYzkHo4PLZYgzRv7jheWvD_-mbiF82FPZhbAzadntHG6G6-pUBiLurc9E_PoIPwdr6IR9DurdjfoFZUj5A6Wku8EUCeIe3ZqT7rKX-kHH4HcJBciqbVvWDRXnhZHCDGJQRbbZgXyMwc8UYgwRB-bwusKYwVA0IqRkg8cotZ6uKiaLqWGiOqoRzMl6m0_Opoxwsgbo55RUxXm7gs90R4stOvljkTYvmy7HcEXHuefP54Rrf8L-6NqUNkhoNH0t6mKRHXQ9tDCOZlTdwAEGPQkjWDVwIYwZCqc0uCRJc4eKPbzQowTapLkUVnLGecWqnnV1w3kJRkys5zCMuhG9rkjN4KqsK3cd--8WUR6S9DYnBPdJ0heocDWzBzjaYX215SVEefYmwtuf4mgtD-nvzuazNQ">