Index: input/regression/multi-measure-rest-no-staff.ly |
diff --git a/input/regression/multi-measure-rest-no-staff.ly b/input/regression/multi-measure-rest-no-staff.ly |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fd30f2d9210a7c554544be89d90935623a1f3130 |
--- /dev/null |
+++ b/input/regression/multi-measure-rest-no-staff.ly |
@@ -0,0 +1,24 @@ |
+\version "2.21.2" |
+ |
+\header { |
+ texidoc = "Multi measure rests don't segfault when there is no staff symbol." |
+} |
+ |
+\layout { |
+ \context { |
+ \type Engraver_group |
+ \name GlobalRests |
+ \consists Multi_measure_rest_engraver |
+ |
+ } |
+ \context { |
+ \Score |
+ \accepts GlobalRests |
+ } |
+} |
+ |
+\score { |
+ << |
+ \new GlobalRests { R1 } |
+ >> |
+} |