================
@@ -243,3 +255,44 @@ TEST_F(UdtRecordCompleterRecordTests,
TestNestedUnionStructInUnion) {
AddField(s2, "m4", 2, 4, Member::Field);
EXPECT_EQ(WrappedRecord(this->record), WrappedRecord(record));
}
+
+TEST_F(UdtRecordCompleterRecordTests, TestNestedUnionStructInUnion2) {
+ SetKind(Member::Kind::Union);
----------------
ZequanWu wrote:
Is this testing this change? This change only changed the behaviour when the
root record is a struct.
https://github.com/llvm/llvm-project/pull/166243
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits