\header {
    texidoc = "Trill spanner can end on a grace note"
}

\version "2.17.28"
\layout {
    ragged-right = ##T
}
\relative c' \new Voice {
    << { c1 \startTrillSpan }
       { s2. \grace { d16\stopTrillSpan e } } >>
    c4 }
