Mark the newly typo-fixed dg-final bits as XFAIL until investigated.
gcc/testsuite/ChangeLog:
PR c++/116846
* g++.dg/modules/indirect-1_b.C: Add XFAIL.
---
Committed as obvious.
gcc/testsuite/g++.dg/modules/indirect-1_b.C | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/gcc/testsuite/g++.dg/modules/indirect-1_b.C
b/gcc/testsuite/g++.dg/modules/indirect-1_b.C
index 7621e05c86b9..dee8a00ef15e 100644
--- a/gcc/testsuite/g++.dg/modules/indirect-1_b.C
+++ b/gcc/testsuite/g++.dg/modules/indirect-1_b.C
@@ -48,7 +48,8 @@ namespace bar
// { dg-final { scan-lang-dump {Lazily binding '::foo::Scoped'@'foo' section:}
module } }
// { dg-final { scan-lang-dump-not {Lazily binding
'::foo::Scoped@foo:.::[ABCD]'@'foo' section:} module } }
-// { dg-final { scan-lang-dump {Wrote named import:-[0-9]*
const_decl:'::foo::Plain@\(foo\)::C'@foo} module } }
-// { dg-final { scan-lang-dump {Wrote named import:-[0-9]*
const_decl:'::foo::Plain@\(foo\)::B'@foo} module } }
-// { dg-final { scan-lang-dump {Wrote named import:-[0-9]*
const_decl:'::foo::Scoped@\(foo\)::C'@foo} module } }
-// { dg-final { scan-lang-dump {Wrote named import:-[0-9]*
const_decl:'::foo::Scoped@\(foo\)::B'@foo} module } }
+// XFAIL is for PR116846
+// { dg-final { scan-lang-dump {Wrote named import:-[0-9]*
const_decl:'::foo::Plain@\(foo\)::C'@foo} module { xfail *-*-* } } }
+// { dg-final { scan-lang-dump {Wrote named import:-[0-9]*
const_decl:'::foo::Plain@\(foo\)::B'@foo} module { xfail *-*-* } } }
+// { dg-final { scan-lang-dump {Wrote named import:-[0-9]*
const_decl:'::foo::Scoped@\(foo\)::C'@foo} module { xfail *-*-* } } }
+// { dg-final { scan-lang-dump {Wrote named import:-[0-9]*
const_decl:'::foo::Scoped@\(foo\)::B'@foo} module { xfail *-*-* } } }
--
2.46.1