1 // RUN: %clang_cc1 -std=c++14 -fsyntax-only -verify %s 2 // expected-no-diagnostics 3 __anon6fad6cc00102null4template <class> auto fn0 = [] {}; foo0()5template <typename> void foo0() { fn0<char>(); } 6 __anon6fad6cc00202(auto a) 7template<typename T> auto fn1 = [](auto a) { return a + T(1); }; 8 9 template <typename X> foo2()10int foo2() { 11 X a = 0x61; 12 fn1<char>(a); 13 return 0; 14 } 15 main()16int main() { 17 foo2<int>(); 18 } 19