This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11788] [3.4 regression] missing implicit instantiation of static member function
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Aug 2003 01:10:00 -0000
- Subject: [Bug c++/11788] [3.4 regression] missing implicit instantiation of static member function
- References: <20030804141918.11788.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11788
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-30 01:09 -------
Another example (not implicated declared inline):
template <typename> struct A { static void foo(); };
template <typename a1> void A<a1>::foo(){}
typedef void (*a)(void);
a f() { return &A<int>().foo; }
int main() { f()(); }