[ create a new paste ] login | about

Link: http://codepad.org/yQkC2tpl    [ raw code | output | fork ]

C++, pasted on Feb 17:
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() {
}


Output:
1
2
Line 7: error: field 'tag' has incomplete type
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: