summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug730888.js
blob: 5d328d6aa5244cb78b0d51e1114ef81a66475626 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

(function() {
    for (var i = 0; i < 64; ++i) {
        var name;
        switch (this) {
            case 0: name = 'firstAttr'; break;
            case 1: name = 'secondAttr'; 
            case 2: name = 'thirdAttr'; break;
        }
        switch (name) {
          case 'firstAttr': assertEq(result, 'value'); break;
        }
    }
})();