Skip to content
Snippets Groups Projects
Commit 68c5d92a authored by Jason Merrill's avatar Jason Merrill
Browse files

c++: overloaded fn in contract [PR108542]

	PR c++/108542

gcc/cp/ChangeLog:

	* class.cc (instantiate_type): Strip location wrapper.

gcc/testsuite/ChangeLog:

	* g++.dg/contracts/contracts-err1.C: New test.
parent da2b9c6e
No related branches found
No related tags found
No related merge requests found
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