]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/warn-expected-warning-missing.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / warn-expected-warning-missing.ly
diff --git a/input/regression/warn-expected-warning-missing.ly b/input/regression/warn-expected-warning-missing.ly
new file mode 100644 (file)
index 0000000..bdb6dc2
--- /dev/null
@@ -0,0 +1,12 @@
+\version "2.16.0"
+
+#(ly:set-option 'warning-as-error #f)
+#(ly:expect-warning (_ "this is a warning that won't be triggered"))
+
+\header {
+  texidoc = "If a warning is expected, but not triggered, print out a
+warning about this fact. This will be used to detect missing warnings
+in our regtests."
+}
+
+\relative c' { c4 }