Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
error8.C
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 }
}