Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
ehspec1.C
blob: 3630e1fbddaaa867947ff3c4208c6335276689ed [
file
] [
log
] [
blame
]
// { dg-do assemble { target c++14_down } }
// Bug: g++ forgets to instantiate A<int>
// Contributed by Jason Merrill <jason@cygnus.com>
template
<
class
T
>
struct
A
{
};
void
f
()
throw
(
A
<int>
);
// { dg-warning "deprecated" "" { target c++11 } }