This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/25748] Template instantiated twice



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-01-11 14:16 -------
Yes this is invalid code, in 4.1.0 and above we get:
t.cc:2: error: definition of 'foo<T>::t' is not in namespace enclosing 'foo<T>'


This is a dup of bug 13140.

*** This bug has been marked as a duplicate of 13140 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]