aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/data/nullishCoalescing_RHS_And.qml
blob: 97898f055a0d48e79d026c42068f2f20237c529f (plain)
1
2
3
4
5
6
7
8
import QtQuick 2.0

Component {
    Component.onCompleted: {
        // Should cause an error since having either || or && on any side of the coalescing operator is banned by the specification
        var bad_rhs_and = 0 ?? 3 && 4;
    }
}