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; 11+ 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] 11+ messages in thread

end of thread, other threads:[~2021-08-04  6:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-39970-4@http.gcc.gnu.org/bugzilla/>
2012-01-06 15:15 ` [Bug c++/39970] gcc accepts the . dot operator in template arguments jason at gcc dot gnu.org
2012-04-24 17:33 ` paolo.carlini at oracle dot com
2012-04-25 12:09 ` paolo.carlini at oracle dot com
2013-03-22 14:44 ` jakub at gcc dot gnu.org
2013-05-31 11:01 ` jakub at gcc dot gnu.org
2013-10-16  9:49 ` jakub at gcc dot gnu.org
2015-06-22 14:26 ` rguenth at gcc dot gnu.org
2020-07-16  0:23 ` arthur.j.odwyer at gmail dot com
2020-07-17  2:56 ` bbnickell at gmail dot com
2021-08-04  6:01 ` pinskia at gcc dot gnu.org
2009-04-29 23:45 [Bug c++/39970] New: " 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).