[Bug c++/13744] ICE when using implicit copy constructor for struct defined in template function
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Oct 4 10:43:00 GMT 2004
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-04 10:43 -------
Here's something without inheritance:
=============================================
template<int> void foo()
{
struct A
{
virtual void bar() { A a(*this); }
} a;
}
void baz()
{
foo<0>();
}
=============================================
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13744
More information about the Gcc-bugs
mailing list