1\version "2.17.6"
2
3#(ly:expect-warning (_ "Cannot determine neighbors for floating column. "))
4#(ly:expect-warning (_ "Loose column does not have right side to attach to."))
5#(ly:expect-warning (_ "Loose column does not have right side to attach to."))
6
7\header {
8
9texidoc = "Even in case of incorrect contexts (eg. shortlived
10  contexts) that break linking of columns through spacing wishes,
11  @code{strict-note-spacing} defaults to a robust solution.
12  This test passes if it does not seg fault; instead it should
13  produce three programming error messages.  Note that, in tight
14  music with strict note spacing, grace notes will collide with
15  normal notes.  This is expected."
16
17}
18
19%% \new Staff cause shortlived, disconnected Voice contexts
20%% breaking spacing-wishes links.
21\score {
22  \new Staff {
23    \override Score.SpacingSpanner.strict-note-spacing = ##t
24    \afterGrace c'4 {c'32 c'32 }
25    c'4
26  }
27  \layout {
28    ragged-right = ##f
29  }
30}
31