+\version "2.14.0"
+
+#(ly:set-option 'warning-as-error #f)
+#(ly:expect-warning (_ "unknown clef type `~a'") "foo")
+% We don't need to match the whole list of clefs, the beginning will suffice
+#(ly:expect-warning (_ "supported clefs: ~a") "C F G G2")
+
\header {
texidoc = "Unknown clef name warning displays available clefs"
- }
-
+}
-\version "2.11.51"
{
\clef "foo"
c4
- }
+}