public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/39970]  New: gcc accepts the . dot operator in template arguments
@ 2009-04-29 23:45 bbnickell at gmail dot com
  2009-07-31 18:18 ` [Bug c++/39970] " bbnickell at gmail dot com
  0 siblings, 1 reply; 2+ messages in thread
From: bbnickell at gmail dot com @ 2009-04-29 23:45 UTC (permalink / raw)
  To: gcc-bugs

The following reproducer violates ISO/IEC 14882:2003 [14.3.2p1]

class blah { int member; };
blah global; // global
template <int param=global.member>
class template_blah { /* blah */ };

Thanks,
-=brandon=-


-- 
           Summary: gcc accepts the . dot operator in template arguments
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bbnickell at gmail dot com


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


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

end of thread, other threads:[~2009-07-31 18:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-29 23:45 [Bug c++/39970] New: gcc accepts the . dot operator in template arguments bbnickell at gmail dot com
2009-07-31 18:18 ` [Bug c++/39970] " bbnickell at gmail dot com

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).