erichkeane wrote:

> > THIS example should also be ill-formed by CWG3005:
> > ```
> > 
> > struct S3 {
> >    union {
> >      int _;
> >      };
> >     int _; // error, the one in the union isn't type independent
> > };
> > ```
> 
> This is CWG2764 - I'll do that in a separate PR (and I need to open another 
> issue because I think the wording fails to implement the intent)

Ah!  SGTM!

https://github.com/llvm/llvm-project/pull/138245
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to