October 29, 2023
https://issues.dlang.org/show_bug.cgi?id=24206

          Issue ID: 24206
           Summary: Can't alias a function type that returns a type with a
                    TypeSuffix
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: nick@geany.org

alias F = int*();

Error: function declaration without return type. (Note that constructors are
always named `this`)

The grammar for AliasAssignment has BasicType Parameters, and should have TypeSuffixes in between: file:///home/nick/git/dlang.org/spec/declaration.html#alias

--