summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/tests/rand_nested_choice/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/tests/rand_nested_choice/Kconfig')
-rw-r--r--scripts/kconfig/tests/rand_nested_choice/Kconfig33
1 files changed, 33 insertions, 0 deletions
diff --git a/scripts/kconfig/tests/rand_nested_choice/Kconfig b/scripts/kconfig/tests/rand_nested_choice/Kconfig
new file mode 100644
index 0000000000..c591d51292
--- /dev/null
+++ b/scripts/kconfig/tests/rand_nested_choice/Kconfig
@@ -0,0 +1,33 @@
+choice
+ prompt "choice"
+
+config A
+ bool "A"
+
+config B
+ bool "B"
+
+if B
+choice
+ prompt "sub choice"
+
+config C
+ bool "C"
+
+config D
+ bool "D"
+
+if D
+choice
+ prompt "subsub choice"
+
+config E
+ bool "E"
+
+endchoice
+endif # D
+
+endchoice
+endif # B
+
+endchoice