blob: 3f6a750d092da470cdb636f9881a643486e31af1 [file] [log] [blame]
// Copyright (c) 2024, 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.
/// @assertion Augmentations do not share an import scope with the main library
/// or each other. The libraries one augmentation imports are visible only to
/// that file.
///
/// @description Checks that imports in an augmentation library are not visible
/// in a main library even if an augmentation library exports it
/// @author sgrekhov22@gmail.com
/// @issue 55112
// SharedOptions=--enable-experiment=macros
import augment 'defining_augmentation_A02_t02_lib.dart';
main() {
print(AL);
// ^^
// [analyzer] unspecified
// [cfe] unspecified
}