Cosmo Brown in Singin' in the Rain (1952) is played by Donald O'Connor.
See the full spoiler-free cast & character guide for Singin' in the Rain