The reaction of prop-2-ynylsulfonium salts and sulfonyl-protected β-amino ketones to epoxide-fused 2-methylenepyrrolidines and S-containing pyrroles.