summaryrefslogtreecommitdiff
path: root/src/kmk/tests/scripts/variables/automatic
diff options
context:
space:
mode:
Diffstat (limited to 'src/kmk/tests/scripts/variables/automatic')
-rw-r--r--src/kmk/tests/scripts/variables/automatic12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/kmk/tests/scripts/variables/automatic b/src/kmk/tests/scripts/variables/automatic
index 62bbcc1..2304fa0 100644
--- a/src/kmk/tests/scripts/variables/automatic
+++ b/src/kmk/tests/scripts/variables/automatic
@@ -107,4 +107,16 @@ bar: ;',
unlink('foo');
+# TEST #4: ensure prereq ordering is correct when the commmand target has none
+# See Savannah bug #21198
+
+run_make_test('
+all : A B
+all : ; @echo $@ -- $^ -- $<
+all : C D
+all : E F
+A B C D E F G H : ; @:
+',
+ '', "all -- A B C D E F -- A\n");
+
1;