Files
sdk/tests/language_2/prefix17_test.dart
T
Jakob Roland Andersen d7c5584976 Migrate test block 143.
Change-Id: I843937de387436e07b289ccc35efa6776d59c142
Reviewed-on: https://dart-review.googlesource.com/11280
Reviewed-by: Jakob Roland Andersen <jakobr@google.com>
2017-10-05 07:27:28 +00:00

21 lines
659 B
Dart

// Copyright (c) 2011, 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.
library Prefix17Test.dart;
import "library12.dart" as lib12;
class LocalClass {
static int static_fld;
}
void main() {
LocalClass.static_fld = 42;
var lc1 = new lib12.Library12(5);
lib12.Library12 lc2 = new lib12.Library12(10);
lib12.Library12 lc2m = new lib12.Library12.other(10, 2);
lib12.Library12.static_fld = 43;
//print("${LocalClass.static_fld}, ${lc1.fld}, ${lc2.fld}, ${lc2m.fld}, ${lib12.Library12.static_fld}");
}