PR middle-end/89303 add testcase for std::enable_shared_from_this