// bindgen-flags: --blocklist-type RefPtr --raw-line "#[derive(Clone, Copy, Debug)] pub struct RefPtr(T);" --allowlist-type "HasRefPtr" -- -std=c++14 template class RefPtr {}; template class HasRefPtr { typedef T TypedefOfT; RefPtr refptr_member; };