summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/completion-crash2/main.cpp
blob: 02f15c295c2d32043ae27a340de2f2809f6b7939 (plain)
1
2
3
4
5
6
7
8
9
10
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(); }
OpenPOWER on IntegriCloud