#include <iostream>
using namespace std;
template <typename T>
int foo(T t) { t.foo(); }
int main()
{
decltype(foo(int{ 13 })) fail = 42;
cout << fail << endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCnRlbXBsYXRlIDx0eXBlbmFtZSBUPgppbnQgZm9vKFQgdCkgeyB0LmZvbygpOyB9CgppbnQgbWFpbigpCnsKCWRlY2x0eXBlKGZvbyhpbnR7IDEzIH0pKSBmYWlsID0gNDI7CgkKCWNvdXQgPDwgZmFpbCA8PCBlbmRsOwp9