aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/unit-tests/deptgt-path-suffix.mk
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bmake/unit-tests/deptgt-path-suffix.mk')
-rw-r--r--contrib/bmake/unit-tests/deptgt-path-suffix.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/contrib/bmake/unit-tests/deptgt-path-suffix.mk b/contrib/bmake/unit-tests/deptgt-path-suffix.mk
index 3a7e697bc748..494a076a5520 100644
--- a/contrib/bmake/unit-tests/deptgt-path-suffix.mk
+++ b/contrib/bmake/unit-tests/deptgt-path-suffix.mk
@@ -1,8 +1,16 @@
-# $NetBSD: deptgt-path-suffix.mk,v 1.2 2020/08/16 14:25:16 rillig Exp $
+# $NetBSD: deptgt-path-suffix.mk,v 1.3 2021/12/13 23:38:54 rillig Exp $
#
# Tests for the special target .PATH.suffix in dependency declarations.
# TODO: Implementation
+# expect+1: Suffix '.c' not defined (yet)
+.PATH.c: ..
+
+.SUFFIXES: .c
+
+# Now the suffix is defined, and the path is recorded.
+.PATH.c: ..
+
all:
@:;