1 // RUN: %clang_cc1 -std=c++2a -verify -triple=x86_64-linux-gnu %s
2 // expected-no-diagnostics
4 // Fixes assertion triggered by https://github.com/llvm/llvm-project/issues/65982
7 struct B
: virtual public A
{};
8 struct X
: public B
{};
10 void member_with_virtual_inheritance() {