1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++14 %s
3 template<class T> class vector {};
6 // expected-no-diagnostics
8 template <typename Functor> void F(Functor functor) {}
10 // Test protocol in template within lambda capture initializer context.
14 F( [ x = vector<id<P>>{} ] {} );