aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/data/incrDecrSemicolon_error1.qml
blob: 710729cbfe1d05943ebcf8a67d9361021558ffa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import QtQuick 2.0

QtObject {

    // PLEASE NOTE: the function below is whitespace and newline sensitive,
    //              because that is what the test is all about.
    //
    // So: DO NOT REFORMAT THE CODE BELOW!

    function code() {
var x=0, y=0;
var z=
x
++
++
y
    }
}