gccrs: Update pattern with \r* for dg-output tests

First scan with "rg -v '\\r' gcc/testsuite/rust | rg 'dg-output'"

gcc/testsuite/ChangeLog:

	* rust/execute/torture/issue-2187.rs:
	Update pattern with \r* for dg-output tests
	* rust/execute/xfail/macro1.rs: Likewise
This commit is contained in:
badumbatish 2024-07-17 12:00:44 -07:00 committed by Arthur Cohen
parent 57d12c683b
commit f89b07d358
2 changed files with 2 additions and 3 deletions

View file

@ -1,4 +1,4 @@
/* { dg-output "L1\n\L2\nL3\nL4" } */
/* { dg-output "L1\r*\n\L2\r*\nL3\r*\nL4" } */
extern "C" {
fn printf(s: *const i8, ...);
}
@ -20,4 +20,3 @@ L4\0";
0
}

View file

@ -1,4 +1,4 @@
// { dg-output "macro\nmacro\nmacro\nmacro\n" }
// { dg-output "macro\r*\nmacro\r*\nmacro\r*\nmacro\r*\n" }
extern "C" {
fn printf(s: *const i8, ...);
}