Test case for #T7619