diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-15 15:23:48 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-15 15:23:48 +0100 |
| commit | 2fb80bbd856280ab306c6087cdb9a4b077abacac (patch) | |
| tree | 26083c32650e040bdd1e9a81d3f6711ebc080083 /tests/Kchoice | |
| parent | d5e9ebb3d06c3e3083fdc35e459a6a6226c237e1 (diff) | |
Verify types for choices without explicit types.
Diffstat (limited to 'tests/Kchoice')
| -rw-r--r-- | tests/Kchoice | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/Kchoice b/tests/Kchoice index ce103ae..1915b1d 100644 --- a/tests/Kchoice +++ b/tests/Kchoice @@ -74,3 +74,23 @@ config OPT_3 config OPT_4 tristate "OPT_4" endchoice + +# Choices without an explicitly specified type should get the type of the first +# symbol with a type + +choice NO_TYPE_BOOL + prompt "no type bool" +config NTB_1 + bool "NTB_1" +config NTB_2 + tristate "NTB_2" +endchoice + +choice NO_TYPE_TRISTATE + prompt "no type tristate" +config NTT_1 +config NTT_2 + tristate "NTB_2" +config NTT_3 + bool "NTT_3" +endchoice |
