https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104000
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The error is: <source>: In constructor 'A::A(int)': <source>:5:16: error: 'this' is not a constant expression 5 | A(int) : A() {} | ^