EX-99.(N) 2 d500185dex99n.htm CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM Consent of Independent Registered Public Accounting Firm

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We consent to the references to our firm under the captions “Financial Highlights” and “Independent Registered Public Accounting Firm” in the Prospectus and “Financial Statements” in the Statement of Additional Information and to the incorporation by reference in Pre-Effective Amendment No. 3 (No. 333-213902) and Post-Effective Amendment No. 20 (No. 811-21969) to the Registration Statement of The GDL Fund (Form N-2) of our report dated February 28, 2017 on the financial statements and financial highlights of The GDL Fund (the “Fund”) included in the Fund’s Annual Report to shareholders (N-CSR) for the year ended December 31, 2016, filed with the Securities and Exchange Commission.

/s/ Ernst & Young LLP

Philadelphia, Pennsylvania

December 5, 2017