# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# Test a linear dependency graph is built in the right order.
+
goal all = : g1
goal g1 = : g2 { echo "G1" }
goal g2 = : g3 { echo "G2" }