/*
* Copyright (c) Huawei Technologies Co., Ltd. 2025. All rights reserved.
* This source file is part of the Cangjie project, licensed under Apache-2.0
* with Runtime Library Exception.
*
* See https://cangjie-lang.cn/pages/LICENSE for license information.
*/
/*
@Name: 04_23_a23_072
@Level: 1
@Assertion: 4.23(23) Since a compound assignment expression is also an assignment expression, the compound
assignment operator is also non-combining.
@Description: Checks that the expression a &= b &= c is invalid for type UInt32.
@Mode: compileonly
@Negative: yes
@Structure: single
@CompileWarning: ignore
@Comment: Auto-generated by gen.py
*/
main() {
var v : UInt32 = 1
v &= v &= v
0
}