================
@@ -36,6 +36,13 @@ namespace cwg400 { // cwg400: 2.7
// expected-error@-1 {{member 'a' found in multiple base classes of
different types}}
// expected-note@#cwg400-A {{member type 'cwg400::A::a' found by ambiguous
name lookup}}
// expected-note@#cwg400-B {{member type 'cwg400::B::a' found by ambiguous
name lookup}}
+ struct F : A {};
+ struct G : A {
+ using G::A;
----------------
Endilll wrote:
```suggestion
using G::a;
```
Did you mean lowercase `a`?
https://github.com/llvm/llvm-project/pull/143492
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits