blob: 342b22106a5607f907a3f9e008951e4c9bf49355 [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.
main() {
Class1();
}
method1() => 1;
class Class1 {
var field1 = method1();
var field2 = throw 'foo';
var field3 = method1();
Class1() : field3 = null;
}