Skip to content

Commit c8c5226

Browse files
committed
[lldb][NFC] Check in completion crash test case
llvm-svn: 367420
1 parent a686c60 commit c8c5226

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
LEVEL = ../../make
2+
CXX_SOURCES := main.cpp
3+
include $(LEVEL)/Makefile.rules
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from lldbsuite.test import lldbinline
2+
from lldbsuite.test import decorators
3+
4+
lldbinline.MakeInlineTest(__file__, globals(), [decorators.skipIf(bugnumber="rdar://53756116")])
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
int i;
2+
struct F {
3+
int &r;
4+
F() : r(i) {}
5+
};
6+
template <class T> struct unique_ptr {
7+
F i;
8+
unique_ptr() : i() {//%self.dbg.GetCommandInterpreter().HandleCompletion("e ", len("e "), 0, -1, lldb.SBStringList())
9+
}
10+
};
11+
int main() {unique_ptr<F> u; }

0 commit comments

Comments
 (0)