[Bug c++/17447] New: Comeau rejects this; gcc not

igodard at pacbell dot net gcc-bugzilla@gcc.gnu.org
Mon Sep 13 00:48:00 GMT 2004


struct B;
template<typename T> struct A {
    friend
    A&  operator <<(A& a, B b) { return a; }
    };
int main() {
    return 0; }

-- 
           Summary: Comeau rejects this; gcc  not
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: igodard at pacbell dot net
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17447



More information about the Gcc-bugs mailing list