#include <type_traits>
#include <functional>
#include <utility>
int main() {
typedef int(*func)();
std::result_of<func()>::type i;
}
I2luY2x1ZGUgPHR5cGVfdHJhaXRzPgojaW5jbHVkZSA8ZnVuY3Rpb25hbD4KI2luY2x1ZGUgPHV0aWxpdHk+CgppbnQgbWFpbigpIHsKICAgIHR5cGVkZWYgaW50KCpmdW5jKSgpOwogICAgc3RkOjpyZXN1bHRfb2Y8ZnVuYygpPjo6dHlwZSBpOwp9