blob: 0c6f7a00172feb480bfc6e220f249dfeccf29f52 [file] [log] [blame]
// Copyright (c) 2020, 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.
struct Struct
{
void (*unnamed1)(void (*unnamed2)());
};
void func(void (*unnamed1)(void (*unnamed2)()));
// This will be removed because 'long double' is unsupported.
void funcNestedUnimplemented(void (*unnamed1)(void (*unnamed2)(long double)));
typedef void (*InsideReturnType)();
typedef InsideReturnType (*WithTypedefReturnType)();
void funcWithNativeFunc(WithTypedefReturnType named);
typedef void (*VoidFuncPointer)();
struct Struct2{
const VoidFuncPointer constFuncPointer;
};