testsuite: Colon is reserved on Windows
The ':' is reserved in filenames on Windows. Without this patch, the test case failes with: .../ben-1_a.C:4:8: error: failed to write compiled module: Invalid argument .../ben-1_a.C:4:8: note: compiled module file is 'partitions/module:import.mod' gcc/testsuite: * g++.dg/modules/ben-1.map: Replace the colon with dash. * g++.dg/modules/ben-1_a.C: Likewise Co-Authored-By: Yvan ROUX <yvan.roux@foss.st.com> Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
This commit is contained in:
parent
57707f38f2
commit
3bb2d70d38
2 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
$root .
|
||||
module:import partitions/module:import.mod
|
||||
module:import partitions/module-import.mod
|
||||
module module.mod
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// { dg-additional-files ben-1.map }
|
||||
|
||||
export module module:import;
|
||||
// { dg-module-cmi =partitions/module:import.mod }
|
||||
// { dg-module-cmi =partitions/module-import.mod }
|
||||
|
||||
export int b() {
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue