blob: 0cb1658cf3f7460aa5e3949f33d2f3ce12a0b6c9 [file] [log] [blame]
// 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.
typedef Foo<T> = T Function<T>(T a);
Foo x = throw '';
main() {}