// RUN: %clang_cc1 -fsyntax-only -verify %s
;
;
;
;
void
;
;
;
;
;
; // expected-warning{{direct base 'C2' is inaccessible due to ambiguity:\n class E2 -> class D2 -> class C2\n class E2 -> class C2}}
; // expected-warning{{direct base 'A2' is inaccessible due to ambiguity:\n class F2 -> class E2 -> class D2 -> class B2 -> class A2\n class F2 -> class A2}}
void
// Test that ambiguous/inaccessibility checking does not trigger too
// early, because it should not apply during overload resolution.
void ;
void ;
void