<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/156809>156809</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Clang rejects attributes in constructor argument lists in C++03
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang:frontend,
rejects-valid
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
philnik777
</td>
</tr>
</table>
<pre>
Clang currently rejects the following code in C++03, even though it should be perfectly fine:
```
struct S {
S([[clang::lifetimebound]] int&) {}
};
```
Interestingly, it's perfectly happy with the same thing anywhere outside a constructor AFACIT.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxcUs2O2yAQfprxZbQRwcGODz44iSLtefsC2B4bWgIRDFnl7SvcrLqthIQEmu9nvk-nZFdP1IM6gbpUOrMJsb8b67z91bZtNYb52Z-d9itOOUby7J4Y6SdNnJAN4RKcC5-2_IeZ0Ho8gzyBPIka5BnpQR7ZhLwatIzJhOxmHAnvFBeaCtpiPUE9gBigEa8jhsQxT4wfCO0JxID4AfK4yTxNRU6ZqAdnF2J7ozFkP4O6gLqg9QyyAdlto-2lALcXqE__Mbx7pkiJrV_ds2i1DLJN35QZfb8_8dOy2awmfSNkU7xq__w0FAlD5mRnQo1T8H80h4jDdTi__9iBGKq5r-eu7nRF_b5VTdc0Sh0r06u6VapeulFpGpu66Zpu39XtIsXc7kWrK9tLIZXoxEE0e6WOu-agp25atD7o5qi6IxwE3bR1O-cet12Ia2VTytTvVXMUXeX0SC5tyUr5tbIlBs_kZ5AS5BmkfEX59tDObq_qUsW-IL6NeU1wEM4mTn852LKjVyO-eqCZox0zUyr5f1-Ejmu-kWfcUP5pR5Wj6w3zPZUo5RXkdbVs8ribwg3ktTC-rrd7DIUJ5HWzmEBeXy4fvfwdAAD__z0f4Nk">