diff options
Diffstat (limited to 'tools/regression/usr.bin/make/syntax/enl/Makefile')
-rw-r--r-- | tools/regression/usr.bin/make/syntax/enl/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/regression/usr.bin/make/syntax/enl/Makefile b/tools/regression/usr.bin/make/syntax/enl/Makefile new file mode 100644 index 0000000..7b37e78 --- /dev/null +++ b/tools/regression/usr.bin/make/syntax/enl/Makefile @@ -0,0 +1,25 @@ +# $FreeBSD$ +# +# Test handling of escaped newlines. +# + +.ifmake test1 + +# This should succeed +\ +\ +\ +test1: + @echo ok + +.elifmake test2 + +# This should fail because the comment continues on the next lines leading +# to an unassociated shell command. +\ +#\ +\ +test2: + @echo ok + +.endif |