
class foo {
public:
    int public_field;
    int public_func();
private:
    int private_field;
    int private_func();
protected:
    int protected_field;
    int protected_func();
};

int main () {

class foo {
public:
    int public_field;
    int public_func();
private:
    int private_field;
    int private_func();
protected:
    int protected_field;
    int protected_func();
};

}
