blob: 1dfe0ae2c5690fd6cb18f787c041afccc00d5da6 [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.
/*library: scope=[
async.dart.FutureExtensions,
core.dart.EnumByName,
core.dart.EnumName,
lib1.dart.UniqueExtension1,
lib2.dart.UniqueExtension2]*/
import 'lib.dart';
main() {
/*error: errors=['ClashingExtension' is exported from both 'org-dartlang-test:///a/b/c/lib1.dart' and 'org-dartlang-test:///a/b/c/lib2.dart'.]*/
ClashingExtension.staticMethod();
UniqueExtension1.staticMethod();
UniqueExtension2.staticMethod();
}