forked from OSchip/llvm-project
[lldb][NFC] Check in completion crash test case
llvm-svn: 367420
This commit is contained in:
parent
a686c60c45
commit
c8c5226145
|
@ -0,0 +1,3 @@
|
|||
LEVEL = ../../make
|
||||
CXX_SOURCES := main.cpp
|
||||
include $(LEVEL)/Makefile.rules
|
|
@ -0,0 +1,4 @@
|
|||
from lldbsuite.test import lldbinline
|
||||
from lldbsuite.test import decorators
|
||||
|
||||
lldbinline.MakeInlineTest(__file__, globals(), [decorators.skipIf(bugnumber="rdar://53756116")])
|
|
@ -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; }
|
Loading…
Reference in New Issue