1 // { dg-do compile { target c++14 } }
2 // PR 79253 ICE instantiating lambda body.
4 template <typename> struct A;
5 template <typename = A<int>> class B {};
6 template <class T, class U, class V> void foo (U, V) { T (0, 0); }
8 template <template <bool, bool, bool> class F, class>
15 template <int, int, int> struct E : C
20 auto c = [&] { m.l; };
28 baz () { bar<F, B<>>; }
29 template <bool, bool, bool> struct F
31 static B<> baz () { foo<E<0, 0, 0>> (0, 0); }