re PR c++/47974 (ICE: tree check: expected tree_vec, have error_mark in tsubst_templa...