| // 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. |
| |
| // @dart = 2.9 |
| |
| // Unresolved symbols should be reported as an error. |
| import "../library12.dart" as lib12; |
| |
| class Subclass |
| extends lib12.Library13 |
| // ^^^^^^^^^^^^^^^ |
| // [analyzer] COMPILE_TIME_ERROR.EXTENDS_NON_CLASS |
| // [cfe] Type 'lib12.Library13' not found. |
| {} |
| |
| class Implementer |
| implements lib12.Library13 |
| // ^^^^^^^^^^^^^^^ |
| // [analyzer] COMPILE_TIME_ERROR.IMPLEMENTS_NON_CLASS |
| // [cfe] Type 'lib12.Library13' not found. |
| {} |
| |
| main() { |
| new Subclass(); |
| new Implementer(); |
| } |