This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30340] pure virtual function called on const & declared with previous declaration without a definition, const & assigned by temporary
- From: "mjtruog at fastmail dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Dec 2006 21:44:04 -0000
- Subject: [Bug c++/30340] pure virtual function called on const & declared with previous declaration without a definition, const & assigned by temporary
- References: <bug-30340-13845@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from mjtruog at fastmail dot ca 2006-12-31 21:44 -------
The example code produces the runtime error:
pure virtual method called
terminate called without an active exception
Abort
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30340