testsuite: Add a missing USER_LABEL_PREFIX to a regex.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 19 Jun 2022 09:16:26 +0000 (10:16 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Mon, 20 Jun 2022 15:17:48 +0000 (16:17 +0100)
Fixes this test on Darwin.

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

index a98e676..e30a555 100644 (file)
@@ -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-*-* } } }