[Bug c++/24050] [3.4 Regression] Fails a template instantiation.
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 24 16:58:00 GMT 2005
------- Comment #5 from reichelt at gcc dot gnu dot org 2005-11-24 16:58 -------
Testcase with fewer nesting levels of templates:
========================================
template<int> struct A
{
static void foo() {}
};
void bar(void (*)()) {}
template<int> struct B
{
B() { bar(A<0>::foo); }
};
B<0> b;
int main()
{
return 0;
}
========================================
Compiles with optimization turned on.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24050
More information about the Gcc-bugs
mailing list