PR c++/21025
* typeck.c (cxx_sizeof_or_alignof_type): Check whether the type to which sizeof/alignof is dependent, rather than just whether we are processing_template_decl. PR c++/21025 * g++.dg/template/sizeof9.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98252 138bc75d-0d04-0410-961f-82ee72b054a4
Loading
Please register or sign in to comment