After you file

What the IRS says will happen is they will process your return normally and pay a refund (if claimed), although this may take 6 weeks instead of 3 weeks due to mailing your return.

 

The separately, they will send letters to both parents to investigate the duplicate claim, usually in 9 months or so.   The parent whose claim is ultimately rejected will have to pay back any credits or refunds with interest, and possibly a penalty.