]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/instrument-switch-invalid-warning.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / instrument-switch-invalid-warning.ly
1 \version "2.16.0"
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   c4
13   \instrumentSwitch "bassClar"
14   c
15 }