From d65b267e4a52a23911365424c37283c899d381c7 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Thu, 24 Sep 2009 20:59:22 +0000 Subject: - Fix broken handling of order-only prereqs in secondary expansion of implicit rules. - Fix leaked memory when dealing with implicit rule chains that have file variables or pattern variables. --- tests/scripts/features/se_implicit | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tests/scripts/features/se_implicit') diff --git a/tests/scripts/features/se_implicit b/tests/scripts/features/se_implicit index 6db0031..e9acb2f 100644 --- a/tests/scripts/features/se_implicit +++ b/tests/scripts/features/se_implicit @@ -210,6 +210,17 @@ oo$ba.1 oo$ba '); +# Test #9: Check the value of $^ +run_make_test(q! +.SECONDEXPANSION: + +%.so: | $$(extra) ; @echo $^ + +foo.so: extra := foo.o +foo.so: +foo.o: +!, + '', "\n"); # This tells the test driver that the perl test script executed properly. 1; -- cgit v1.2.3