The temperature dependence of the moment of inertia of a dilute Bose gas confined in a harmonic trap is determined. Deviations from the rigid value, due to the occurrence of Bose-Einstein condensation, reveal the superfluid behaviour of the system. In the noninteracting gas these deviations become important at temperatures of the order of \(T_c N^{-1/12}\). The role of interactions is also discussed.