================
@@ -162,6 +162,7 @@ template void HiddenPack<int, float>();
template<typename ...Ts> void HiddenPackInvalid() {
Int<Ts>(); // expected-error {{unexpanded}}
Int<Ts>{}; // expected-error {{unexpanded}}
+ Int<Ts>({}); // expected-error {{unexpanded}} expected-error {{cannot
initialize non-class type}}
----------------
zyn0217 wrote:
Why didn't we crash for `Int<Ts>()`?
https://github.com/llvm/llvm-project/pull/236838
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits