]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/header-cyclic-reference.ly
Release: bump Welcome versions.
[lilypond.git] / input / regression / header-cyclic-reference.ly
1 \version "2.16.0"
2 #(ly:set-option 'warning-as-error #f)
3 #(ly:expect-warning (_ "Recursive definition of property ~a detected!") 'header:title)
4 #(ly:expect-warning (_ "Recursive definition of property ~a detected!") 'header:composer)
5
6 \header {
7   texidoc = "Cyclic references in header fields should cause a warning, but
8 not crash LilyPond with an endless loop"
9
10   title = \markup {Cyclic reference to \fromproperty #'header:title }
11
12   composer = \markup {Cyclic reference to \fromproperty #'header:temp }
13   temp = \markup {Cyclic reference to \fromproperty #'header:composer }
14 }
15 \score {
16   { c' d' e' f' }
17 }