Skip to content
Snippets Groups Projects
Commit 8b739b9f authored by mmitchel's avatar mmitchel
Browse files

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
parent a529afc9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment