blob: 39006b33da7c36f533da007854a8e1da5238a655 [file] [log] [blame]
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
leftExpression() {
late List<int> v;
/*unassigned*/ v[0] = (v = [1, 2])[1];
v;
}
leftLocal_compound() {
late int v;
/*unassigned*/ v += 1;
}
leftLocal_compound_assignInRight() {
late int v;
/*unassigned*/ v += (v = /*unassigned*/ v);
}
leftLocal_pure_eq() {
late int v;
v = 0;
}
leftLocal_pure_eq_self() {
late int v;
v = /*unassigned*/ v;
}
leftLocal_pure_questionEq() {
late int v;
/*unassigned*/ v ??= 0;
}
leftLocal_pure_questionEq_self() {
late int v;
/*unassigned*/ v ??= /*unassigned*/ v;
}
questionEq_rhs_not_guaranteed_to_execute() {
late int v;
int? i;
i ??= (v = 0);
/*unassigned*/ v;
}