http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47220
Summary: [C++0x] invalid code using template with variable
argument list is accepted
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: [email protected]
ReportedBy: [email protected]
----- testcase.C -----
template < typename ... > struct A;
struct B : A <
{
};
----------------------
(note the "A <")
Compiler output:
$ gcc -std=c++0x testcase.C -c
(no output)
Tested revisions:
r168552 - accepted
4.5 r168062 - accepted
4.4 r168062 - accepted
4.3.5 - accepted