summaryrefslogtreecommitdiff
path: root/unit-tests/deptgt.mk
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/deptgt.mk')
-rw-r--r--unit-tests/deptgt.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/unit-tests/deptgt.mk b/unit-tests/deptgt.mk
index 15d7e59aeced..044644dcbd66 100644
--- a/unit-tests/deptgt.mk
+++ b/unit-tests/deptgt.mk
@@ -1,4 +1,4 @@
-# $NetBSD: deptgt.mk,v 1.11 2021/04/04 10:13:09 rillig Exp $
+# $NetBSD: deptgt.mk,v 1.12 2021/12/13 23:38:54 rillig Exp $
#
# Tests for special targets like .BEGIN or .SUFFIXES in dependency
# declarations.
@@ -45,5 +45,14 @@ ${:U}: empty-source
# that nobody uses it.
$$$$$$$${:U:Z}:
+# expect+1: warning: Extra target ignored
+.END ordinary:
+
+# expect+1: warning: Extra target (ordinary) ignored
+.PATH ordinary:
+
+# expect+1: Special and mundane targets don't mix. Mundane ones ignored
+ordinary .PATH:
+
all:
@:;