]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/bmake/unit-tests/cond-op-parentheses.mk
Merge bmake-20201117
[FreeBSD/FreeBSD.git] / contrib / bmake / unit-tests / cond-op-parentheses.mk
1 # $NetBSD: cond-op-parentheses.mk,v 1.3 2020/11/15 14:58:14 rillig Exp $
2 #
3 # Tests for parentheses in .if conditions.
4
5 # TODO: Implementation
6
7 # Test for deeply nested conditions.
8 .if     ((((((((((((((((((((((((((((((((((((((((((((((((((((((((        \
9         ((((((((((((((((((((((((((((((((((((((((((((((((((((((((        \
10         1                                                               \
11         ))))))))))))))))))))))))))))))))))))))))))))))))))))))))        \
12         ))))))))))))))))))))))))))))))))))))))))))))))))))))))))
13 .  info Parentheses can be nested at least to depth 112.
14 .else
15 .  error
16 .endif
17
18 all:
19         @:;