summaryrefslogtreecommitdiff
path: root/tests/Kchoice
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2012-12-15 15:37:28 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2012-12-15 15:37:28 +0100
commit411ac155a56b8e4874ab9713210fb7e8923022bc (patch)
tree1773cc1a1f906f88cf0c6a301a1786ae86c3bb97 /tests/Kchoice
parent2fb80bbd856280ab306c6087cdb9a4b077abacac (diff)
Add more selftests for choices with missing types.
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