blob: 262aca7b61fe78703bf45fc6ce41090b78e263b8 [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.
// test w/ `pub run test -N use_function_type_syntax_for_parameters`
void f1(bool f(int e)) {} // LINT
void f2(bool Function(int e) f) {} // OK