December 18, 2022
https://issues.dlang.org/show_bug.cgi?id=23566

          Issue ID: 23566
           Summary: ImportC: __PRETTY_FUNCTION__ is not defined
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: bugzilla@digitalmars.com

#include <assert.h>

  int main()
  {
    assert(0); // Error: undefined identifier `__PRETTY_FUNCTION__`
  }

--