571f564eda
Change-Id: I5ea1369d65c5eb47e920f68806d28f34931d372e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/148983 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
15 lines
489 B
Dart
15 lines
489 B
Dart
// 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.
|
|
|
|
/// A class must implement a known interface.
|
|
|
|
class Interface2NegativeTest implements BooHoo {}
|
|
// ^^^^^^
|
|
// [analyzer] COMPILE_TIME_ERROR.IMPLEMENTS_NON_CLASS
|
|
// [cfe] Type 'BooHoo' not found.
|
|
|
|
main() {
|
|
Interface2NegativeTest();
|
|
}
|