\version "2.15.5"
+#(ly:set-option 'warning-as-error #f)
+#(ly:expect-warning (ly:translate-cpp-warning-scheme "cannot find Voice `%s'") "not-existing-notes")
+
\header {
texidoc = "If lyrics are assigned to a non-existing voice, a warning should
}
-#(ly:set-option 'warning-as-error #f)
<<
\new Staff
\new Voice = "notes" {