From 411ac155a56b8e4874ab9713210fb7e8923022bc Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 15 Dec 2012 15:37:28 +0100 Subject: Add more selftests for choices with missing types. --- tests/Kchoice | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'tests') 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 -- cgit v1.2.3