[lldb][NFC] Check in completion crash test case

llvm-svn: 367420
This commit is contained in:
Raphael Isemann 2019-07-31 12:15:21 +00:00
parent a686c60c45
commit c8c5226145
3 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,3 @@
LEVEL = ../../make
CXX_SOURCES := main.cpp
include $(LEVEL)/Makefile.rules

View File

@ -0,0 +1,4 @@
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators
lldbinline.MakeInlineTest(__file__, globals(), [decorators.skipIf(bugnumber="rdar://53756116")])

View File

@ -0,0 +1,11 @@
int i;
struct F {
int &r;
F() : r(i) {}
};
template <class T> struct unique_ptr {
F i;
unique_ptr() : i() {//%self.dbg.GetCommandInterpreter().HandleCompletion("e ", len("e "), 0, -1, lldb.SBStringList())
}
};
int main() {unique_ptr<F> u; }