]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/bmake/unit-tests/cond-op-and-lint.mk
Merge bmake-20201117
[FreeBSD/FreeBSD.git] / contrib / bmake / unit-tests / cond-op-and-lint.mk
1 # $NetBSD: cond-op-and-lint.mk,v 1.1 2020/11/08 23:54:28 rillig Exp $
2 #
3 # Tests for the && operator in .if conditions, in lint mode.
4
5 .MAKEFLAGS: -dL
6
7 # The '&' operator is not allowed in lint mode.
8 # It is not used in practice anyway.
9 .if 0 & 0
10 .  error
11 .else
12 .  error
13 .endif