#include <cstdio>

template<typename T>
auto kitten(T x) __attribute__((noinline));

template<class T>
auto kitten(T t)
{
	static T x = 0;
	return (x += 1) + t;
}

int main()
{
	printf("%d\n", kitten(1));
	printf("%g\n", kitten(3.14));
}
