// @flow
// Error: 'declare', 'checks' but missing predicate
declare function f2(x: mixed): boolean %checks;