================
@@ -84,6 +86,57 @@ std::vector<A> vectorRecordWithTwoParameter() {
 }
 
 
+struct WithInitList {
----------------
zeyi2 wrote:

Nit: Could we add a regression test for inherited constructors here?

```cpp
struct Base {
  Base(Bar);
  Base(std::initializer_list<Bar>);
};

struct Derived : Base {
  using Base::Base;
};

Derived f(Bar b) {
  return Derived(b);
}
```

https://github.com/llvm/llvm-project/pull/205440
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to