<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64108>64108</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang] Program erroneously rejected with somewhat deep virtual inheritance, constructor `using` , and deleted constructors
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Ericson2314
</td>
</tr>
</table>
<pre>
Problem witnessed with Clang 11 and 16
```c++
struct Foo
{
Foo(int) {}
};
struct Bar1 : virtual Foo
{
using Foo::Foo;
Bar1() = delete;
};
struct Bar2 : virtual Bar1
{
using Bar1::Bar1;
};
struct Bar3 : Bar2
{
using Bar2::Bar2;
};
Bar3 z { 5 };
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMksFu6ywQhZ8Gb1AjPNgOXniR1r_XfQUMI5tfGCLAjXqf_gqStM2i0ZWQMuJMvoNnjozRLA5xIO0racdK7mn1YfgvGBW9A1431ez15_Ae_GxxoxeTHMaIOlcrfbPSLbSuqXSa1h1hI2En0rHrUQRe8ym3MYVdJTp5f-s63gRKabkFYVwi0NOsHMd710j4rfGB8ypDTQk_0Q8T0i7tL-A9GrcUjZ8IP5Xih5wpBERx5SPVaDHht-ETc3gwL5zf3ItY7K_VP9B5oWebZ1T4osITasH9yVOlLX2Q73uq9MB1z3tZ4VB3PeOsP_K-Wgc9qxpEPWuhBT_iLIRWugVRYyuFVKIyAzDg7AhtLUC0_UEzbBQ0rdZ9C3LuSMNwk8YerP3YDj4slYlxx6FraiYqK2e0sWQPwOGFFpEA5CiGIf_nZd6XSBpmTUzxm5JMsiW0KieQtCN9D34JcqMYgnfo92g_acD_UaV7WKPf8LLKRDXi-Wt1xq0YTJJOIYE3qry7rsEHSjpWZk06RrOWQ36NiP7ZF6s92GFN6RzzQmAiMC0mrft8UH4jMOVX335ezsHnNxGYyrdGAlOZxd8AAAD__zTiBg0">