gdb/testsuite: add XFAIL to gdb.cp/ptype-flags.exp when using clang
authorBruno Larsen <blarsen@redhat.com>
Fri, 9 Sep 2022 18:34:27 +0000 (20:34 +0200)
committerBruno Larsen <blarsen@redhat.com>
Mon, 31 Oct 2022 12:43:56 +0000 (13:43 +0100)
commit2ce385da88704170ba6922743c437177eef2c09d
treefd6f819c075c8c6d205bcab183c23fcd047428b6
parentde1fbe7889eb4f363b979c14735b8fd51131621b
gdb/testsuite: add XFAIL to gdb.cp/ptype-flags.exp when using clang

When running gdb.cp/ptype-flags.exp using Clang, we get an unexpected
failure when printing the type of a class with an internal typedef. This
happens because Clang doesn't add accessibility information for typedefs
inside classes (see https://github.com/llvm/llvm-project/issues/57608
for more info). To help with Clang testing, an XFAIL was added to this
test.
gdb/testsuite/gdb.cp/ptype-flags.exp