--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-13
09:39 ---
But the code is still invalid and is really a dup of bug 20133.
You most want:
template int Test::myInt;
template S& Test::myS = S::instance();
Not what you gave.
The orginal ICE is fixed so still closin
--- Additional Comments From mendola at bigfoot dot com 2005-04-13 06:07
---
(In reply to comment #2)
> (In reply to comment #1)
> > The code is invalid:
> > t.cc: In instantiation of S& Test::myS:
> > t.cc:32: instantiated from static void Test::out() [with T = S]
> > t.cc:40: i
--- Additional Comments From mendola at bigfoot dot com 2005-04-13 05:26
---
(In reply to comment #1)
> The code is invalid:
> t.cc: In instantiation of S& Test::myS:
> t.cc:32: instantiated from static void Test::out() [with T = S]
> t.cc:40: instantiated from here
> t.cc:49: er
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-12
23:06 ---
The code is invalid:
t.cc: In instantiation of S& Test::myS:
t.cc:32: instantiated from static void Test::out() [with T = S]
t.cc:40: instantiated from here
t.cc:49: error: cannot call member functio