summaryrefslogtreecommitdiff
path: root/5p13.cpp
blob: 503bc031ce3866c147ad3152aa36f1cd41006cae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

/*
 *
 * 5.13
 *
 *
 */

int main () {

	// (a) there are no breaks, so we add breaks after each case
	// (b) ix is initialized in case 1 but we try to use it in default, we add brackets and initialize it in default as well, or maybe make the variable global
	// (c) we can only have one value per case, we would need to add a case for each value so it can fall through
	// (d) case labels must be integral constant expressions
	return 0;
}