// RUN: %clang_cc1 -std=c++14 -fsyntax-only -verify %s // expected-no-diagnostics template auto fn0 = [] {}; template void foo0() { fn0(); } template auto fn1 = [](auto a) { return a + T(1); }; template int foo2() { X a = 0x61; fn1(a); return 0; } int main() { foo2(); }