blob: de1534cc6373ab9bbb83649c64ac468bc73799aa [file] [log] [blame]
// PR c++/11116
template <typename T> struct S {};
void f() {
throw S (); // { dg-error "12:class template argument deduction failed|no match" "" { target c++17 } }
// { dg-error "11:missing template arguments" "" { target c++14_down } .-1 }
}