blob: 186d58df4b80cbe7e77b5f3bbf5ea985fe722842 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
import QtQuick 2.0
Item {
x: {
switch (a) { // 108 17 17
case 1:
case 2:
x = 1
// fallthrough
case 3:
break
case 4:
continue
case 5:
case 6:
default:
case 8:
return
case 10:
x = 1
break
case 9:
}
switch (a) { // 108 17 17
case 1:
case 2: // 20 9 12
x = 1
case 3:
break
case 4: // 20 9 12
function a() {
}
case 5:
case 6:
default:
case 8: // 20 9 12
x = 1
case 9:
case 11: // no warning
x = 1
}
}
}
|