https://issues.dlang.org/show_bug.cgi?id=22047
Issue ID: 22047
Summary: Inconsistent grammar parsing function types in
parameters vs. other contexts
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P3
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
extern(C) pure nothrow @safe @nogc void function() p; // OK
alias extern(C) pure nothrow @safe @nogc void function() a; // OK
alias b = extern(C) pure nothrow @safe @nogc void function() p; // OK
void fun(extern(C) pure nothrow @safe @nogc void function() p); // Error
--