c++/8116: ICE in member template function

Reichelt reichelt@igpm.rwth-aachen.de
Sun Oct 27 07:46:00 GMT 2002


The following reply was made to PR c++/8116; it has been noted by GNATS.

From: Reichelt <reichelt@igpm.rwth-aachen.de>
To: gcc-gnats@gcc.gnu.org, yuvalk@mainsoft.com, gcc-bugs@gcc.gnu.org,
        nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/8116: ICE in member template function
Date: Sun, 27 Oct 2002 18:29:45 +0200

 Hi,
 
 here's a little cleaned-up testcase:
 
 ---------------------snip here------------------------
 template <typename T> struct A { static int i; };
 
 template <int*> struct B
 {
     template <typename U> void bar(U);
 };
 
 void foo()
 {
     B<&A<int>::i>().bar(0);
 }
 ---------------------snip here------------------------
 
 Greetings,
 Volker
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8116
 
 



More information about the Gcc-prs mailing list