// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.2 OR LicenseRef-Slint-commercial


export SuperSimple := Rectangle {
    background: green;

    for xx Text {}
//         ^error{Invalid 'for' syntax: there should be a 'in' token}


    for xx in zz: Hello {
        Rectangle {}
    }

    Image {
    }

    for xx[idx] in zz: Hello {
        Rectangle {}
    }

}
