summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/ifdefs-nesting.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/pymake/tests/ifdefs-nesting.mk')
-rw-r--r--build/pymake/tests/ifdefs-nesting.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/build/pymake/tests/ifdefs-nesting.mk b/build/pymake/tests/ifdefs-nesting.mk
new file mode 100644
index 000000000..340530ffa
--- /dev/null
+++ b/build/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