preprocessor: Make quoting : [PR 95253]

I missed some testsuite fall out with my patch to fix mkdeps file
mangling.

	PR preprocessor/95253
	gcc/testsuite/
	* g++.dg/modules/dep-1_a.C: Adjust expected output.
	* g++.dg/modules/dep-1_b.C: Likewise.
	* g++.dg/modules/dep-2.C: Likewise.
This commit is contained in:
Nathan Sidwell 2021-01-15 11:02:38 -08:00
parent 0425f4c1b6
commit e1efa6af61
3 changed files with 7 additions and 7 deletions

View File

@ -4,6 +4,6 @@ export module m:part;
// { dg-module-cmi m:part } // { dg-module-cmi m:part }
// All The Backslashes! // All The Backslashes!
// { dg-final { scan-file dep-1_a.d {\nm\\:part\.c\+\+m: gcm.cache/m-part\.gcm} } } // { dg-final { scan-file dep-1_a.d {\nm:part\.c\+\+m: gcm.cache/m-part\.gcm} } }
// { dg-final { scan-file dep-1_a.d {\ngcm.cache/m-part\.gcm:| dep-1_a\.o} } } // { dg-final { scan-file dep-1_a.d {\ngcm.cache/m-part\.gcm:| dep-1_a\.o} } }
// { dg-final { scan-file dep-1_a.d {\n\.PHONY: m\\:part\.c\+\+m} } } // { dg-final { scan-file dep-1_a.d {\n\.PHONY: m:part\.c\+\+m} } }

View File

@ -3,8 +3,8 @@ export module m;
// { dg-module-cmi m } // { dg-module-cmi m }
export import :part; export import :part;
// { dg-final { scan-file dep-1_b.d {\ndep-1_b\.s gcm.cache/m\.gcm: m\\:part\.c\+\+m} } } // { dg-final { scan-file dep-1_b.d {\ndep-1_b\.s gcm.cache/m\.gcm: m:part\.c\+\+m} } }
// { dg-final { scan-file dep-1_b.d {\nm\.c\+\+m: gcm.cache/m\.gcm} } } // { dg-final { scan-file dep-1_b.d {\nm\.c\+\+m: gcm.cache/m\.gcm} } }
// { dg-final { scan-file dep-1_b.d {\n\.PHONY: m\.c\+\+m} } } // { dg-final { scan-file dep-1_b.d {\n\.PHONY: m\.c\+\+m} } }
// { dg-final { scan-file dep-1_b.d {\ngcm.cache/m\.gcm:| dep-1_b.o} } } // { dg-final { scan-file dep-1_b.d {\ngcm.cache/m\.gcm:| dep-1_b.o} } }
// { dg-final { scan-file dep-1_b.d {\nCXX_IMPORTS \+= m\\:part\.c\+\+m} } } // { dg-final { scan-file dep-1_b.d {\nCXX_IMPORTS \+= m:part\.c\+\+m} } }

View File

@ -5,8 +5,8 @@ module m:part;
// { dg-module-cmi !m:part } // { dg-module-cmi !m:part }
// All The Backslashes! // All The Backslashes!
// { dg-final { scan-file dep-2.d {\nm\\:part\.c\+\+m: gcm.cache/m-part\.gcm} } } // { dg-final { scan-file dep-2.d {\nm:part\.c\+\+m: gcm.cache/m-part\.gcm} } }
// { dg-final { scan-file dep-2.d {\ngcm.cache/m\\:part\.gcm:| dep-2\.o} } } // { dg-final { scan-file dep-2.d {\ngcm.cache/m:part\.gcm:| dep-2\.o} } }
// { dg-final { scan-file dep-2.d {\n\.PHONY: m\\:part\.c\+\+m} } } // { dg-final { scan-file dep-2.d {\n\.PHONY: m:part\.c\+\+m} } }
// { dg-final { scan-file dep-2.i {\nmodule m:part;\n} } } // { dg-final { scan-file dep-2.i {\nmodule m:part;\n} } }