Quantum critical behaviour in a high-T-c superconductor