summaryrefslogtreecommitdiff
path: root/tests/Kchoice
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Kchoice')
-rw-r--r--tests/Kchoice17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/Kchoice b/tests/Kchoice
index 1915b1d..481e438 100644
--- a/tests/Kchoice
+++ b/tests/Kchoice
@@ -94,3 +94,20 @@ config NTT_2
config NTT_3
bool "NTT_3"
endchoice
+
+# Choice items without an explicitly specified type should get the type of the
+# choice
+
+choice MISSING_MEMBER_TYPES_1
+ bool "missing member types"
+config MMT_1
+config MMT_2
+config MMT_3
+ tristate
+endchoice
+
+choice MISSING_MEMBER_TYPES_2
+config MMT_4
+config MMT_5
+ bool
+endchoice