Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: svalorzen at gmail dot com
Target Milestone: ---
Created attachment 35697
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35697&action=ed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61451
--- Comment #1 from Eugenio Bargiacchi ---
For some reason, if an additional line is added, the error goes away. This
compiles fine:
#include
template
struct is_generative_model {
private:
template static auto test(int) -> declty
++
Assignee: unassigned at gcc dot gnu.org
Reporter: svalorzen at gmail dot com
Created attachment 32910
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32910&action=edit
Preprocessed source produced by compilation.
The following code:
#include
template