// RUN: %clang_cc1 -std=c++14 -verify %s // expected-no-diagnostics template auto ab() -> c ; template struct e {}; template struct ac { template static e()(ab))> i; decltype(i) j; }; struct d { template d(f) { ac a; } }; struct a { d b = [=](auto) { (void)[this] {}; }; }; void b() { new a; }