template class C { }; class Foo { public: C c; }; void foo() { Foo:: // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:14:8 %s -o - | FileCheck -check-prefix=CC1 %s // I'm not really sure what I'd expect here. But clang certainly should not crash. // CHECK-CC1: c // CHECK-CC1: Foo // CHECK-CC1: operator= // CHECK-CC1: ~Foo