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++/35324] [4.2/4.3/4.4 regression] Invalid argument to sizeof not rejected in template



------- Comment #3 from jakub at gcc dot gnu dot org  2008-07-30 12:39 -------
I think there are many bugs that are only reported when a template is
instantiated, and this is just one of them.
If you add
B<int> b;
to the testcase, it will be rejected.  IMHO this isn't a bug.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu dot org


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


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