Skip to content
Snippets Groups Projects
Commit 33c1a964 authored by mmitchel's avatar mmitchel
Browse files

PR c++/28211

	* parser.c (cp_parser_template_argument): Don't consider "&var" a
	possible constant-expression.
	* pt.c (convert_nontype_argument): Refine handling of arguments of
	pointer type.
	PR c++/28211
	* g++.dg/tc1/dr49.C: Tweak error messages.
	* g++.dg/parse/template21.C: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117787 138bc75d-0d04-0410-961f-82ee72b054a4
parent 171810f8
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