1\version "2.21.0"
2
3\header {
4  texidoc = "@code{\\autoChange} needs to be given pitches in their
5final octaves, so if @code{\\relative} is used it must be applied
6inside @code{\\autoChange}.  The pitches in @code{\\autoChange} are
7unaffected by an outer @code{\\relative}, so that the printed output
8shows the pitches that @code{\\autoChange} used.
9
10The expected output of this test is three identical measures."
11}
12
13\new PianoStaff {
14   \autoChange \absolute {g4 c g' c}
15   \relative \autoChange {g4 c g' c}  % relative is ignored
16   \autoChange \relative {g4 c, g'' c,,}
17}
18