without warning, but crashes when run: int factorial(int x) { if(x==1)