1 2 3 4 5 6 7 8 9 10 11
// bindgen-flags: --enable-cxx-namespaces --allowlist-type nsCSSValue --opaque-type 'nsRefPtrHashtable' -- -std=c++14 template <class PtrType> class nsRefPtrHashtable { typedef PtrType *UserDataType; }; struct a { nsRefPtrHashtable<int> b; }; class nsCSSValue { a c; };