Skip to content
Snippets Groups Projects
Commit db10c6ec authored by Simon Martin's avatar Simon Martin Committed by Simon Martin
Browse files

re PR c++/38089 (g++ crash on invalid code)

gcc/cp/

2009-06-02  Simon Martin  <simartin@users.sourceforge.net>

	PR c++/38089
	* pt.c (register_specialization): Properly setup DECL_CONTEXT for
	specializations in an invalid namespace.

gcc/testsuite/

2009-06-02  Simon Martin  <simartin@users.sourceforge.net>

	PR c++/38089
	* g++.dg/template/spec36.C: New test.

From-SVN: r148069
parent 0aa34d44
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