aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/basicBlocksWithBackJump_infinite.qml
blob: 997ff687363db5675cfdc973294a514e5f13c1f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
pragma Strict
import QtQml

QtObject {
    function infinite() {
        let foo = false
        if (true) {
            while (true) {}
        } else {
            console.log(foo)
        }
    }
}