# $NetBSD: cond-op-or-lint.mk,v 1.3 2025/06/28 22:39:28 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
