<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/161565>161565</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] Invalid struct field definition not producing error.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
HLSL
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
spall
</td>
</tr>
</table>
<pre>
This struct definition should produce an error:
```
struct MoreBFields {
uint : G;
};
```
It is suspected that the G is being parsed as a semantic.
https://godbolt.org/z/5PfKenYzG
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxckc-K2zAQxp9Gvgxr5LHlxAcdHILTpVsotJceZWscqyiWkcaB7tMXhZQuCwKB0PeH72dScteVSAt1EupcmJ2XEHXajPfFGOwf_XNxCRLHfWKwNLvVsQsrpCXs3sIWg90nArMCxRiiqHshe9HK55H9U_otRDoNjrxNIA4nIXuA3a0Mou7hIuoTZN3hLOrTJwMh-1eGXGJPG01MFngxDLwQXPL7SG69wmZiIgsmgYFEN7Oym8psujBvKffCQeBwDXYMnssQrwKHd4GD-j5_pfXX-6WwurZd3ZmCdHVQXd3UspPFok3dNc3xiEciNY-26WZpprYxqjXzAZuxcBolqkrKqjpio2TZzXikydQztjjZ0YpG0s04X3p_v-XswqW0k67aSrWq8GYknx4MEL-8_XgTiJlG1Pn_y7hfk2ikd4nTfwd27B_cHgJ1htf1bryz_2DNeeyPyNbAT155rweustij158WcrzsYzmFm8Ahpz2vly2G3zSxwOFRPgkcnv3vGv8GAAD__7epuF0">