blob: 0fd7de34dc17d7f2397bbc9d1a975393d8041bb0 [file] [log] [blame]
// Copyright (c) 2017, 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.
/*nb*/
main() {
/*bl*/
Foo foo = new /*bc:1*/ Foo(1, 2);
/*bc:5*/ print(foo.x);
/*bc:6*/ print(foo.y);
/*bc:7*/ print(foo.z);
}
class Foo {
var x, y, z;
Foo(a, b)
: this.x /*bc:2*/ = a,
this.y /*bc:3*/ = b {
z = a /*bc:4*/ + b;
}
}