blob: ae4cbe1a82a2f09c273566e72fc5d0343beca547 [file] [log] [blame]
// 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.
class C<T> {
T? f;
}
test(dynamic x) {
switch (x) {
case C<int>(f: 1)!:
break;
}
}