]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/filter-translators.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / filter-translators.ly
diff --git a/input/regression/filter-translators.ly b/input/regression/filter-translators.ly
new file mode 100644 (file)
index 0000000..cd68546
--- /dev/null
@@ -0,0 +1,21 @@
+\version "2.14.0"
+
+\header {
+  texidoc = "Context modification via @code{\\with} filters translators
+of the wrong type: performers for an @code{Engraver_group} and engravers
+for a @code{Performer_group}.  In this test, the
+@code{Instrument_name_engraver} is added to a @code{StaffGroup}, but
+does not affect midi output, since it is filtered out."
+}
+
+\score {
+  \new StaffGroup \with {
+    \consists "Instrument_name_engraver"
+    instrumentName = #"StaffGroup"
+  }
+  {
+    a'1
+  }
+  \layout { }
+  \midi { }
+}