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


On Friday 01 November 2002 03:35 pm, you wrote:
> Synopsis: internal error on ambiguous function template
>
> State-Changed-From-To: open->feedback
> State-Changed-By: bangerth
> State-Changed-When: Fri Nov  1 15:35:32 2002
> State-Changed-Why:
>     Please send us a testcase according to the Web page
>     referenced in the compiler error
>
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&databas
>e=gcc&pr=8427

Your file attachment feature seems not to be working. Here is the file 
again.
-- 
Ray Lischner, author of C++ in a Nutshell (forthcoming)
(http://www.tempest-sw.com/cpp/)
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>());
}


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