summaryrefslogtreecommitdiff
path: root/scripts/kconfig/tests/no_write_if_dep_unmet/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/tests/no_write_if_dep_unmet/Kconfig')
-rw-r--r--scripts/kconfig/tests/no_write_if_dep_unmet/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/kconfig/tests/no_write_if_dep_unmet/Kconfig b/scripts/kconfig/tests/no_write_if_dep_unmet/Kconfig
new file mode 100644
index 000000000000..c00b8fe54f45
--- /dev/null
+++ b/scripts/kconfig/tests/no_write_if_dep_unmet/Kconfig
@@ -0,0 +1,14 @@
+config A
+ bool "A"
+
+choice
+ prompt "Choice ?"
+ depends on A
+
+config CHOICE_B
+ bool "Choice B"
+
+config CHOICE_C
+ bool "Choice C"
+
+endchoice