1 // DR 1510, PR c++/60420
2 // { dg-do compile { target c++11 } }
11 auto x = [](const decltype(*begin)) { };
14 template<typename Iterator>
15 void bar(Iterator begin)
17 auto x = [](const decltype(*begin)) { };
20 template void bar<MyIter>(MyIter);