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++/17161] failure to diagnose an ill-formed instantiation on a local type


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-22 01:42 -------
This has now been fixed:

t.cc: In function 'int main()':
t.cc:10: error: 'main()::E' uses local type 'main()::E'
t.cc:10: error:   trying to instantiate 'template<class T> void S::foo(T)'

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


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