summaryrefslogtreecommitdiff
path: root/python/pymake/tests/ifdefs-nesting.mk
diff options
context:
space:
mode:
Diffstat (limited to 'python/pymake/tests/ifdefs-nesting.mk')
-rw-r--r--python/pymake/tests/ifdefs-nesting.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/python/pymake/tests/ifdefs-nesting.mk b/python/pymake/tests/ifdefs-nesting.mk
new file mode 100644
index 000000000..340530ffa
--- /dev/null
+++ b/python/pymake/tests/ifdefs-nesting.mk
@@ -0,0 +1,13 @@
+ifdef RANDOM
+ifeq (,$(error Not evaluated!))
+endif
+endif
+
+ifdef RANDOM
+ifeq (,)
+else ifeq (,$(error Not evaluated!))
+endif
+endif
+
+all:
+ @echo TEST-PASS