Added test that triggers assertion during IR dump.