blob: 08d699dc550899a83be1c9aeef5e4479fe2c4b6b [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.
/*member: ordinary:declared={x, y}, assigned={x}*/
ordinary(int x, int y) {
x = y;
/*member: nullAware:declared={x, y}, assigned={x}*/
nullAware(int? x, int y) {
x ??= y;
/*member: compound:declared={x, y}, assigned={x}*/
compound(int x, int y) {
x += y;