blob: 9ece9d5c9af6c8f07dfaafdab814299d137b7f6b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# $NetBSD: cond-op-or-lint.mk,v 1.2 2023/06/01 20:56:35 rillig Exp $
#
# Tests for the || operator in .if conditions, in lint mode.
.MAKEFLAGS: -dL
# The '|' operator is not allowed in lint mode.
# It is not used in practice anyway.
# expect+1: Unknown operator '|'
.if 0 | 0
. error
.else
. error
.endif
|