1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
class MyTag; class MyDialog { public: MyTag tag; }; class MyTag { }; int main() { }
1 2
Line 7: error: field 'tag' has incomplete type compilation terminated due to -Wfatal-errors.