xref: /linux/scripts/kconfig/tests/err_transitional/Kconfig (revision a5ba183bdeeeedd5f5b683c02561072848258496)
1# SPDX-License-Identifier: GPL-2.0
2# Test that transitional symbols cannot have properties other than help
3
4config BAD_DEFAULT
5	bool
6	transitional
7	default y
8	help
9	  This transitional symbol illegally has a default property.
10
11config BAD_PROMPT
12	bool
13	transitional
14	prompt "Bad prompt"
15	help
16	  This transitional symbol illegally has a prompt.
17
18config BAD_SELECT
19	bool
20	transitional
21	select OTHER_SYMBOL
22	help
23	  This transitional symbol illegally has a select.
24
25config BAD_IMPLY
26	bool
27	transitional
28	imply OTHER_SYMBOL
29	help
30	  This transitional symbol illegally has an imply.
31
32config BAD_DEPENDS
33	bool
34	transitional
35	depends on OTHER_SYMBOL
36	help
37	  This transitional symbol illegally has a depends.
38
39config BAD_RANGE
40	int
41	transitional
42	range 1 10
43	help
44	  This transitional symbol illegally has a range.
45
46config BAD_NO_TYPE
47	transitional
48	help
49	  This transitional symbol illegally has no type specified.
50
51config OTHER_SYMBOL
52	bool
53