public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28903]  New: [4.2 Regression] Rejects VLA in template class's member with using
@ 2006-08-30 15:04 pinskia at gcc dot gnu dot org
  2006-08-30 15:04 ` [Bug c++/28903] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-30 15:04 UTC (permalink / raw)
  To: gcc-bugs

Testcase:
template <class>
struct View 
{
 int n;
};
template <class ViewA>
struct ViewDom : View<ViewA>
{
  using View<ViewA>::n;
  ViewDom();
};
template <class ViewA>
ViewDom<ViewA>::ViewDom()
{
     char a[n];
}
void element( )
{
  ViewDom<int> a;
}


-- 
           Summary: [4.2 Regression] Rejects VLA in template class's member
                    with using
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28903


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-09-07  1:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-30 15:04 [Bug c++/28903] New: [4.2 Regression] Rejects VLA in template class's member with using pinskia at gcc dot gnu dot org
2006-08-30 15:04 ` [Bug c++/28903] " pinskia at gcc dot gnu dot org
2006-08-30 15:05 ` pinskia at gcc dot gnu dot org
2006-08-30 15:06 ` tbm at cyrius dot com
2006-08-31 17:57 ` janis at gcc dot gnu dot org
2006-08-31 18:10 ` pinskia at gcc dot gnu dot org
2006-09-01 22:24 ` mmitchel at gcc dot gnu dot org
2006-09-04  2:32 ` pinskia at gcc dot gnu dot org
2006-09-04 19:09 ` mmitchel at gcc dot gnu dot org
2006-09-07  1:05 ` mmitchel at gcc dot gnu dot org
2006-09-07  1:10 ` mmitchel at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).