gdb/testsuite: add XFAIL to gdb.cp/derivation.exp when using Clang
authorBruno Larsen <blarsen@redhat.com>
Thu, 8 Sep 2022 08:43:14 +0000 (10:43 +0200)
committerBruno Larsen <blarsen@redhat.com>
Fri, 11 Nov 2022 09:13:36 +0000 (10:13 +0100)
commit42dde3f3643cdf372b8f40beafa3f2c888aaf92a
treedb85518e7bbdd11e8067cc3211bf67b4d44aa4c7
parent3180839c4bee41b8dea76f1e2d19203cd76c0fa0
gdb/testsuite: add XFAIL to gdb.cp/derivation.exp when using Clang

When running gdb.cp/derivation.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.

Approved-by: Tom Tromey <tom@tromey.com>
gdb/testsuite/gdb.cp/derivation.exp