1 2 3 4 5 6 7
struct Base; struct Derived; struct T { T(Derived& d) : lol(static_cast<Base>(d)) {}; Base lol; };
1 2
Line 6: error: field 'lol' has incomplete type compilation terminated due to -Wfatal-errors.