A 2 metre long prototype of a lead-liquid argon electromagnetic calorimeter with accordionshaped electrodes, conceived as a sector of the barrel calorimeter of the future ATLAS experiment at the LHC, has been tested with electron and pion beams in the energy range 10 to 287 GeV. A sampling term of 10%= p E(GeV) was obtained for electrons in the rapidity range 0 < < 1, while the constant term measured over an area of about 1 m 2 is 0.69%. With a cell size of 2.7 cm the position resolution is about 4 mm= p E(GeV).