1 // PR c++/54377
2 
3 template <typename, typename, typename = void, typename = void>
4 struct foo {};  // { dg-message "provided for" }
5 
6 foo<int> f;     // { dg-error "at least 2" }
7