blob: 86d2b6488d227c47ed8fd983b2bf03ad17d04697 [file] [log] [blame]
// bindgen-flags: --enable-cxx-namespaces --allowlist-type StaticRefPtr --opaque-type 'JS::Rooted' -- -std=c++14
namespace JS {
template <typename T> class Rooted { using ElementType = T; };
}
class c {
JS::Rooted<int> b;
};
class B {
c a;
};
template <class> class StaticRefPtr {};
struct {
StaticRefPtr<B> d;
} e;