An example of a real-analytic metric on a compact manifold whose geodesic flow is Liouville integrable by $C^infty$ functions and has positive topological entropy is constructed.