https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121644

            Bug ID: 121644
           Summary: inh-ctor11a.C xfailed
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Keywords: FIXME, testsuite-fail, xfail
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

Currently the testcase g++.dg/cpp0x/inh-ctor11a.C is xfailed due not to
implementing ... handling.

```
struct A
{
  A(int, ...);
};

struct B: A
{
  using A::A;
  int t = 1;
};

B b1(42);
B b2(42, 1.0);
```

I think we can handle this by marking the new constructor as always inline and
then use __builtin_va_arg_pack () for the second argument to the original
constructor.

Reply via email to