blob: 2d3ba018618dd9d9d4362f6e359d0bb1cc05326f [file] [log] [blame]
// PR c++/94592 - ICE with { } as template argument.
// { dg-do compile { target c++2a } }
struct A {
constexpr A() {}
};
template <A> struct B { };
template<typename> void bar () {
B<{}> var;
}
void fu() {
bar<int>();
}