874e7ee056
Part of https://github.com/dart-lang/sdk/issues/49749 Closes https://github.com/dart-lang/sdk/issues/51523 Change-Id: I4875020510246761878e71b969698cbd1baa0de0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/286822 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Chloe Stefantsova <cstefantsova@google.com>
12 lines
326 B
Dart
12 lines
326 B
Dart
// Copyright (c) 2023, 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> {
|
|
const C();
|
|
}
|
|
|
|
void main() {
|
|
var {const C(): a1} = <C<String>, int>{const C<String>(): 1};
|
|
}
|