summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/tests/choice_randomize2/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/tests/choice_randomize2/Kconfig')
-rw-r--r--scripts/kconfig/tests/choice_randomize2/Kconfig32
1 files changed, 32 insertions, 0 deletions
diff --git a/scripts/kconfig/tests/choice_randomize2/Kconfig b/scripts/kconfig/tests/choice_randomize2/Kconfig
new file mode 100644
index 000000000000..530cf2ef7f47
--- /dev/null
+++ b/scripts/kconfig/tests/choice_randomize2/Kconfig
@@ -0,0 +1,32 @@
+choice
+ prompt "This is always invisible"
+ depends on n
+
+config DUMMY
+ bool "DUMMY"
+
+endchoice
+
+choice
+ prompt "Choose A or B"
+
+config A
+ bool "A"
+
+config B
+ bool "B"
+
+endchoice
+
+config FOO
+ bool "FOO"
+ depends on A
+
+choice
+ prompt "Choose X"
+ depends on FOO
+
+config X
+ bool "X"
+
+endchoice