class A {
    A(int z);
    ~A();
    void foo();

private:
    int x;

public:
    int y;
};