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++/8116: ICE in member template function


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



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