The values which may be represented by a bit-field of length one may not meet developer expectations. Anonymous signed bit-fields of any length are allowed.
== Noncompliant Code Example
----
struct S
{
signed int a : 1; // Noncompliant, signed fields require at least two bits
signed int : 1; // Compliant, cannot be referenced
signed int : 0; // Compliant, cannot be referenced
};
----
== Compliant Solution
----
struct S
{
signed int a : 2; // Compliant
signed int : 1; // Compliant, cannot be referenced
signed int : 0; // Compliant, cannot be referenced