blob: fb2e07e8f9d1004d4b9534af9eb1398770cdad23 [file] [log] [blame]
// Copyright (c) 2018, 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.
// This test checks that instantiate to bound provides type arguments to raw
// typedef types that are themselves used as type arguments of literal lists.
typedef A<T extends num>(T p);
var a = <A>[];
main() {}