summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/werror.js
blob: b44a3aee72803ca45a4a8e3b9707caa337f01ff2 (plain)
1
2
3
4
5
6
7
// |jit-test| error: unreachable code
function f() {
    return 1;
    return 2;
}
options("werror");
f();