1# $NetBSD: directive-for-null.mk,v 1.5 2025/03/30 09:51:50 rillig Exp $ 2# 3# Test for parsing a .for loop that accidentally contains a null byte. 4# 5# expect: make: (stdin):2: Zero byte read from file 6 7all: .PHONY 8 @printf '%s\n' \ 9 '.for i in 1 2 3' \ 10 'VAR=value' \ 11 '.endfor' \ 12 | tr 'l' '\0' \ 13 | ${MAKE} -f - 14