A visible-light-induced "on-off" one-pot synthesis of 3-arylacetylene coumarins with AIE properties.