523257ab8a
Part of https://github.com/dart-lang/sdk/issues/49749 Change-Id: I61cd83124083f2e017101be3ea020e04583023e3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/267600 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Chloe Stefantsova <cstefantsova@google.com>
11 lines
295 B
Dart
11 lines
295 B
Dart
// Copyright (c) 2022, 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.
|
|
|
|
test(dynamic x) {
|
|
switch (x) {
|
|
case var y as Object:
|
|
break;
|
|
}
|
|
}
|