1 // bindgen-flags: --blocklist-type RefPtr --allowlist-function 'Servo_.*' --raw-line 'pub type RefPtr<T> = T;' -- -std=c++14 2 template <class> class RefPtr; 3 class b; 4 class A { 5 typedef b a; 6 }; 7 template <class c> class e { RefPtr<c> d; }; 8 template <class> class f {}; 9 class g { 10 f<e<int>> h; 11 }; 12 class b : g {}; 13 A Servo_Element_GetSnapshot(); 14