[Bug c++/71653] New: error when trying to compile a code with template friend function in a struct

2016-06-24 Thread raphael.rg91 at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: raphael.rg91 at gmail dot com Target Milestone: --- Created attachment 38764 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38764=edit preprocessed file $ g++

[Bug c++/71653] error when trying to compile a code with template friend function in a struct

2016-06-24 Thread raphael.rg91 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71653 --- Comment #2 from Raphael Gozzo --- This error happens in the 6.1 version too (tested here http://gcc.godbolt.org)

[Bug c++/71653] error when trying to compile a code with template friend function in a struct

2016-06-24 Thread raphael.rg91 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71653 --- Comment #1 from Raphael Gozzo --- Created attachment 38765 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38765=edit source file