================
@@ -50,6 +50,16 @@ struct Unnamed {
int : 8;
};
+struct Empty {
+};
+
+struct UnnamedOnly {
+ int : 8;
+};
+
----------------
llvm-beanz wrote:
A few other potential cases to consider:
```
struct EmptyDerived : Empty {};
struct UnnamedDerived : UnnamedOnly {};
```
https://github.com/llvm/llvm-project/pull/160355
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
