Searched defs:Fin (Results 1 - 1 of 1) sorted by relevance

/external/clang/test/SemaCXX/
H A Dconditional-expr.cpp33 struct Fin : Mid, Derived {}; struct in inherits:Mid,Derived
128 Fin fin;
131 (void)(i1 ? Base() : Fin()); // expected-error{{ambiguous conversion from derived class 'Fin' to base class 'Base':}}
132 (void)(i1 ? Fin() : Base()); // expected-error{{ambiguous conversion from derived class 'Fin' to base class 'Base':}}
135 (void)(i1 ? base : fin); // expected-error {{ambiguous conversion from derived class 'Fin' to base class 'Base':}}
136 (void)(i1 ? fin : base); // expected-error {{ambiguous conversion from derived class 'Fin' to base class 'Base':}}

Completed in 133 milliseconds