Chromium Code Reviews| Index: pkg/front_end/testcases/local_generic_function.dart |
| diff --git a/pkg/front_end/testcases/local_generic_function.dart b/pkg/front_end/testcases/local_generic_function.dart |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a251f14e491e996577c357e4a6efcd476726bb00 |
| --- /dev/null |
| +++ b/pkg/front_end/testcases/local_generic_function.dart |
| @@ -0,0 +1,8 @@ |
| +// Copyright (c) 2017, 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. |
| + |
| +main() { |
| + T f<T>(List<T> l) => l[0]; |
| + var x = f([0]); |
| +} |