https://github.com/erichkeane commented:

THIS example should also be ill-formed by CWG3005:

```

struct S3 {
   union {
     int _;
     };
    int _; // error, the one in the union isn't type independent
};
```

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