2 // { dg-do compile { target c++20 } }
3 // We used to crash here with "Error reporting routines re-entered".
5 template<class...> struct A { };
7 template<A V> using type = int;
9 template<A V> [[nodiscard]] type<V> get();
12 get<{}>(); // { dg-warning "nodiscard" }