1 // RUN: %clang_cc1 -triple %itanium_abi_triple -fsyntax-only -verify %s
2 // expected-no-diagnostics
3 class A
{ virtual void f(); };
4 class B
: virtual A
{ };
8 // Since A is already a primary base class, C should be the primary base class
10 class F
: virtual A
, virtual C
{ };
12 int sa
[sizeof(F
) == sizeof(A
) ? 1 : -1];