blob: b04235b392dd6d0925715baf8973d56d6efc9899 [file]
// Copyright (c) 2026, 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.
class A {
final int x;
A(int y) : x = (() => y)();
}
class B extends A {
B(int z): super(z) {
z = 0;
}
}