title: Enum bitfield and aggregate initialization
body: <p>The following code is accepted by clang 6.0.0 but rejected by gcc 8.2</p>
  
  <pre><code>enum class E {
    Good, Bad,
  };
  
  struct S {
    E e : 2;
    int dummy;
  };
  
  S f() {
    return {E::Good, 100};
  }
  </code></pre>
  
  <p><a href="https://godbolt.org/z/A4LBuZ" rel="nofollow noreferrer">Live godbolt example</a></p>
  
  <p>The GCC complains</p>
  
  <blockquote>
    <p>error: could not convert '<code>{Good, 100}</code>' from '<code>&lt;brace-enclosed initializer list&gt;</code>' to '<code>S</code>'</p>
  </blockquote>
  
  <p>Which one is correct? Where in the standard talks about this situation?</p>