#include <iostream>

class A;
A& getRef(void);
char (&func(A&))[2];

int main() {
    bool isDefault = sizeof(func(getRef()))==2;
    std::cout << isDefault << std::endl;
    return 0;
}
