From 005eff04cc117f8b7626248486ec53f87cb8d3c7 Mon Sep 17 00:00:00 2001 From: Raphael Isemann Date: Wed, 31 Jul 2019 12:06:22 +0000 Subject: [lldb][NFC] Check in another crashing test case llvm-svn: 367416 --- .../test/expression_command/completion-crash2/main.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lldb/packages/Python/lldbsuite/test/expression_command/completion-crash2/main.cpp (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/completion-crash2/main.cpp') diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/completion-crash2/main.cpp b/lldb/packages/Python/lldbsuite/test/expression_command/completion-crash2/main.cpp new file mode 100644 index 00000000000..02f15c295c2 --- /dev/null +++ b/lldb/packages/Python/lldbsuite/test/expression_command/completion-crash2/main.cpp @@ -0,0 +1,11 @@ +namespace n { +template class a {}; +template struct shared_ptr { + template + static void make_shared() { //%self.dbg.GetCommandInterpreter().HandleCompletion("e ", len("e "), 0, -1, lldb.SBStringList()) + typedef a c; + c d; + } +}; +} // namespace n +int main() { n::shared_ptr::make_shared(); } -- cgit v1.2.3