Skip to content
Snippets Groups Projects
Commit a3128bf0 authored by David Malcolm's avatar David Malcolm
Browse files

bootstrap: fix failing diagnostic selftest on Windows [PR98696]

In one of the selftests in g:f1096055
I didn't consider that paths can contain backslashes, which happens
for the tempfiles on Windows hosts.

gcc/ChangeLog:
	PR bootstrap/98696
	* diagnostic.c
	(selftest::test_print_parseable_fixits_bytes_vs_display_columns):
	Escape the tempfile name when constructing the expected output.
parent adb52060
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