From 028ca52e641777e0eb12a4e44a0f662d1295a357 Mon Sep 17 00:00:00 2001
From: David Kastrup <dak@gnu.org>
Date: Wed, 17 Apr 2013 18:53:44 +0200
Subject: [PATCH] Add rest-positioning regtest

---
 input/regression/rest-positioning.ly | 36 ++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 input/regression/rest-positioning.ly

diff --git a/input/regression/rest-positioning.ly b/input/regression/rest-positioning.ly
new file mode 100644
index 0000000000..a34b773586
--- /dev/null
+++ b/input/regression/rest-positioning.ly
@@ -0,0 +1,36 @@
+\version "2.17.16"
+
+\header {
+  texidoc = "This shows the single and multi voice rest positions for
+various standard and tab staffs."
+}
+
+
+\layout {
+  ragged-right = ##t
+}
+
+mus = { \mark "R1*7" R1*7 \mark "R1" R1 \mark "r1" r1 \mark "r2" r2 \mark "r4" r4*2 }
+
+\score {
+  {
+    \compressFullBarRests
+    \new StaffGroup <<
+      $@(map
+         (lambda (n)
+           #{
+    	 \new Staff \with { \override StaffSymbol.line-count = $n }
+    	 { \mus << \mus \\ \mus >> }
+           #})
+         (iota 8))
+      $@(map
+          (lambda (x)
+            #{
+	      \new TabStaff \with { stringTunings = #x }
+	      { \mus << \mus \\ \mus >> }
+	    #})
+          (list mandolin-tuning banjo-c-tuning guitar-tuning))
+    >>
+  }
+  \layout { \tabFullNotation }
+}
-- 
2.39.5