<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/202369>202369</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
_Atomic auto and _Atomic(auto) are not the same thing in C23
</td>
</tr>
<tr>
<th>Labels</th>
<td>
c23,
clang:frontend,
diverges-from:gcc
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
AaronBallman
</td>
</tr>
</table>
<pre>
_This comes from discussion in https://github.com/llvm/llvm-project/pull/197874#pullrequestreview-4389392176_
`_Atomic auto` is using `_Atomic` as a qualifier, while `_Atomic(auto)` is a type specifier spelling. The qualifier form should be accepted in C23 mode but Clang rejects the same as the type specifier form: https://godbolt.org/z/1453Yz4r5
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUUs1u3CAQfhp8GWWFwX8cfHA28hPk0lOEYWxTYdjws1Hy9BXbtBulp0qWPPYw3_D9yBjN5hBH0j6S9qmSOe0-jJMM3j1Kaw_pqsXr9_HleTcRlD8wwhr8AdpElWM03oFxsKd0iYRPhM2EzZtJe15Oyh-EzdZe_7weLsH_RJUImy_ZWsLmWvRD3xDGy3fA14wxBbwafHto-CC4YHXfvRA6laejL1Pyh1Egc_Kko2Ai5GjcBvde-S0jSHjN0prVYCDsDG-7sfj1FBtuGEx8wkhI7xeEeEF1GyqVtcZtJ3je8Q4Gqw8HxN1nq2FBkErhJaEuIpwZh8NrhCUnOFvpNghY-EZIO0KUB5arlfrbsgJK-PRdRq8Xb9PJh42w-aPI1bT8x0cT2kqPXAsuZIVj3Q9UcN7WtNpHqlch1npQnMl1pUI0Qy_qbu1p3-i115UZGWUd7ehQt01Lh9NK-04vjaKtqNtmWUlD8ZDGnopjZXdlYsxYxngnKisXtPGWF8YU44Qxws6lLoQJn9bgXUKn_za0uWLYMD6U3BA-bUqVXvtUhfGWiiVvkTTUmpjifWsyyeL41XGQTsM_BoIMCM6nu8ZpL5H4bUiVgx3_O503xpGw-ZP0dWS_AgAA__-qcAW8">