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

/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5-var.cpp39 struct ConvertibleToBothDerived { struct
137 void bind_lvalue_to_conv_rvalue_ambig(ConvertibleToBothDerived both) {
139 const Base &br1 = both; // expected-error{{reference initialization of type 'const Base &' with initializer of type 'ConvertibleToBothDerived' is ambiguous}}

Completed in 75 milliseconds