Skip to content
Snippets Groups Projects
Commit 1542e8a4 authored by Gaius Mulley's avatar Gaius Mulley
Browse files

PR modula2/114422 Attempting to declare a set of unknown type causes ICE


This patch corrects an error message directive which did not
escape the { character.  The patch also contains test cases
to stress set declaration errors.

gcc/m2/ChangeLog:

	PR modula2/114422
	* gm2-compiler/M2Quads.mod (BuildConstructor): Add escape
	character.

gcc/testsuite/ChangeLog:

	PR modula2/114422
	* gm2/iso/fail/badset.mod: New test.
	* gm2/iso/fail/badset2.mod: New test.
	* gm2/iso/fail/badset3.mod: New test.

Signed-off-by: default avatarGaius Mulley <gaiusmod2@gmail.com>
parent 44b79ab6
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