blob: 3c3efd14332c5ec07465448a3981e83483eaca28 [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.
import "package:expect/expect.dart";
void main() {
final c = C();
Expect.identical(c, c);
}
class C {
var x = this; //# 00: compile-time error
late var x = this; //# 01: ok
}