blob: 84edb3977807fd5dfe5c4952c312498fbea3cfdd [file] [log] [blame]
// bindgen-flags: --blacklist-type RefPtr --raw-line '#[derive(Clone, Copy, Debug)] pub struct RefPtr<T>(T);' -- --std=c++14
// This is pretty much the same as the other issue 662 test case, but this time
// we blacklist RefPtr to exercise the instantiation-of-a-blacklisted-template
// path in the template analysis.
template <class> class RefPtr {};
template <class T> class nsMainThreadPtrHolder { T a; };
template <class U> class nsMainThreadPtrHandle {
RefPtr<nsMainThreadPtrHolder<U>> mPtr;
};