Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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 }
}