]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/phrasing-slur-multiple.ly
Release: bump Welcome versions.
[lilypond.git] / input / regression / phrasing-slur-multiple.ly
1 \version "2.19.29"
2
3 #(ly:set-option 'warning-as-error #f)
4 #(ly:expect-warning (_ "already have phrasing slur"))
5 #(ly:expect-warning (_ "cannot end phrasing slur"))
6 #(ly:expect-warning (_ "unterminated phrasing slur"))
7
8 \header {
9   texidoc = "LilyPond does not support multiple concurrent phrasing slurs with the 
10 parentheses syntax.  In this case, warnings will be given and the nested
11 slur will not be generated.  However, one can can create a second slur with
12 a different spanner-id."
13 }
14
15 \relative { 
16   % This will give warnings ("Already have phrasing slur" and "Cannot end phrasing slur")
17   c''4\(\(\=1\( d4\)\(\=1\( e4\) f\) |
18   % This will give two overlapping slurs and "unterminated phrasing slur" from above
19   d\(  d\=2\( e\) f\=2\) |
20   
21 }