aboutsummaryrefslogtreecommitdiffstats
path: root/testcase/ifdef_with_trailing_space.mk
blob: fca01a1986c96c4f027e1a896c9cf573cbf0406c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# TODO(go): Fix

A := a # comment

ifdef $(A)
$(error FAIL)
else
$(info PASS)
endif

a := b
ifdef $(A)
$(info PASS)
else
$(error FAIL)
endif

ifdef a # comment
$(info PASS)
else
$(error FAIL)
endif