xref: /llvm-project/lldb/test/API/commands/expression/completion-crash-incomplete-record/main.cpp (revision 99451b4453688a94c6014cac233d371ab4cc342d)
1 int i;
2 struct F {
3   int &r;
FF4   F() : r(i) {}
5 };
6 template <class T> struct unique_ptr {
7   F i;
unique_ptrunique_ptr8   unique_ptr() : i() {//%self.dbg.GetCommandInterpreter().HandleCompletion("e ", len("e "), 0, -1, lldb.SBStringList())
9 }
10 };
main()11 int main() {unique_ptr<F> u; }
12