[pushed] testsuite: Add a missing USER_LABEL_PREFIX to a regex.

Message ID 20220620151903.80116-1-iain@sandoe.co.uk
State Committed
Commit a78e5d307c69d4e91cd0e43d84e98be9593e68de
Headers
Series [pushed] testsuite: Add a missing USER_LABEL_PREFIX to a regex. |

Commit Message

Iain Sandoe June 20, 2022, 3:19 p.m. UTC
  Fixes this test on Darwin.

tested on x86_64 darwin / linux, pushed to master, thanks
Iain

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>

gcc/testsuite/ChangeLog:

	* g++.dg/modules/init-2_b.C: Add a missing USER_LABEL_PREFIX
	to a regex.
---
 gcc/testsuite/g++.dg/modules/init-2_b.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gcc/testsuite/g++.dg/modules/init-2_b.C b/gcc/testsuite/g++.dg/modules/init-2_b.C
index a98e67616a2..e30a555e39a 100644
--- a/gcc/testsuite/g++.dg/modules/init-2_b.C
+++ b/gcc/testsuite/g++.dg/modules/init-2_b.C
@@ -8,4 +8,4 @@  import Foo;
 // There should be an idempotency check
 // { dg-final { scan-assembler {_ZZ9_ZGIW3BarE9__in_chrg} } }
 // { dg-final { scan-assembler {call[ \t]+_?_ZGIW3Foo} { target i?86-*-* x86_64-*-* } } }
-// { dg-final { scan-assembler {.(quad|long)[ \t]+_ZGIW3Bar} { target i?86-*-* x86_64-*-* } } }
+// { dg-final { scan-assembler {.(quad|long)[ \t]+_?_ZGIW3Bar} { target i?86-*-* x86_64-*-* } } }