This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/8427: internal error on ambiguous function template


Synopsis: internal error on ambiguous function template

State-Changed-From-To: feedback->open
State-Changed-By: bangerth
State-Changed-When: Mon Nov  4 07:13:28 2002
State-Changed-Why:
    Attachment provided:
    ---------------------------
    template<int i> struct g {};
    
    template<int i, int j> void f(g<i/j>) { }
    template<int i, int j> void f(g<j>) { }
    
    int main()
    {
      f<4,2>(g<4/2>());
    }

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8427


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]