simple static if test with compile time function evaluation