]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/instrument-switch-invalid-warning.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / instrument-switch-invalid-warning.ly
1 \version "2.19.21"
2 #(ly:set-option 'warning-as-error #f)
3 #(ly:expect-warning (_ "No such instrument: ~a") "bassClar")
4
5 \header {
6   texidoc = "The @code{switchInstrument} music function prints a warning if
7 the given instrument definition does not exist."
8 }
9
10 \relative
11 {
12   c'4
13   \instrumentSwitch "bassClar"
14   c
15 }