4025dee2f8
Closes #43538 Change-Id: I58f03d6d71e6de4744003cc28519a20c7e9e7f12 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/164787 Reviewed-by: Dmitry Stefantsov <dmitryas@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
17 lines
470 B
Dart
17 lines
470 B
Dart
// Copyright (c) 2020, 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';
|
|
|
|
import 'a.dart';
|
|
|
|
const crossModule = B();
|
|
main() {
|
|
Expect.equals(2.71, sameModule.d);
|
|
Expect.equals('default', sameModule.s);
|
|
|
|
Expect.equals(2.71, crossModule.d);
|
|
Expect.equals('default', crossModule.s);
|
|
}
|