[lldb][NFC] Check in another crashing test case

llvm-svn: 367416
This commit is contained in:
Raphael Isemann 2019-07-31 12:06:22 +00:00
parent 0d60480737
commit 005eff04cc
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://53754063")])

View File

@ -0,0 +1,11 @@
namespace n {
template <class> class a {};
template <class b> struct shared_ptr {
template <class...>
static void make_shared() { //%self.dbg.GetCommandInterpreter().HandleCompletion("e ", len("e "), 0, -1, lldb.SBStringList())
typedef a<b> c;
c d;
}
};
} // namespace n
int main() { n::shared_ptr<int>::make_shared(); }