Files
clang-p2996/lldb/test/API/commands/expression/pr52257/main.cpp
Jordan Rupprecht 360d901bf0 Revert "[lldb] Disable minimal import mode for RecordDecls that back FieldDecls"
This reverts commit 3bf96b0329.

It causes crashes as reported in PR52257 and a few other places. A reproducer is bundled with this commit to verify any fix forward. The original test is left in place, but marked XFAIL as it now produces the wrong result.

Reviewed By: teemperor

Differential Revision: https://reviews.llvm.org/D113449
2021-11-10 10:38:01 -08:00

13 lines
205 B
C++

template <typename> struct pair {};
struct A {
using iterator = pair<char *>;
pair<char *> a_[];
};
struct B {
using iterator = A::iterator;
iterator begin();
A *tag_set_;
};
B b;
int main() {};