This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48798] CV-qualified base class erroneously forbidden
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 28 Apr 2011 12:20:44 +0000
- Subject: [Bug c++/48798] CV-qualified base class erroneously forbidden
- Auto-submitted: auto-generated
- References: <bug-48798-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48798
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-04-28 12:10:04 UTC ---
The testcase is tiny, might as well be in a comment rather than separate as an
attachment:
typedef struct A {} const t;
struct B : t {};