https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71825
Andrew Pinski changed:
What|Removed |Added
Keywords|rejects-valid |accepts-invalid, diagnostic
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71825
Martin Liška changed:
What|Removed |Added
Keywords||rejects-valid
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71825
--- Comment #1 from Zhendong Su ---
Both the following are accepted:
$ g++-trunk -c small1.cpp
$ cat small1.cpp
namespace N
{
template < class > struct A;
}
template < class T > struct N::A
{
A () {}
};
$
$ g++-trunk -c small2.cpp
$