// PR c++/98802 // { dg-do compile { target c++17 } } using size_t = decltype(sizeof(42)); template struct List { T head; List tail; }; template struct List {}; template List(T) -> List; template List(T, List) -> List; int main() { auto list2 = List{0, List{1, List{2}}}; }