<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/115779>115779</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Clang] [[clang::require_constant_initialization]] seems to be broken in C++03
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang:frontend,
accepts-invalid
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
philnik777
</td>
</tr>
</table>
<pre>
```c++
[[clang::require_constant_initialization]]
inline const __INTMAX_TYPE__ value = __INTMAX_MAX__ + 1;
```
is accepted in C++03 but in no other dialect.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycUcGu2yAQ_Bp8QYlgsWP7wCGJG6mHVj28Q3uywN7E20cgBRyp_frKTqKnXisNQlqY2dlZkxJdPKJm1YFVXWHmPIWobxM5T-91XRc2jL8124kHBgaHBaJjYr9yDoMz_sLUnql9xF8zReyH4FM2PvfkKZNx9MdkCp5V3YKVS96RR77-5H3_-evbl_33_u3Ht099z-_GzciZ6j5eltNzBgcumXr1f7l6SiZuhgFvGUdOnh8fVoXids5LwQce8oSRj2QcDnn7oBWjVmOrWlOglrWSaqeqnSomrcQgSqjPjWjrerBGVdhAU5ZSnBvVWFOQBgGllFICyBbU1rY7IXbjuSxNa6umZqXAqyG3de5-3YZ4KSilGbWUVV23hTMWXVqjB3jFeI7BZ_QjA2BwZACPmdKG_N04WutVV0S9aG7sfEmsFI5STh9dMmW3rvS4ilYd_79V8YR4TTwHbpHbGN7R_5NsMUenp5xvaRGFE4PThfI02-0QrgxOi6HntbnF8BOHzOC0ZpAYnJ4x3DX8DQAA___7Z8XP">