1// bindgen-flags: --opaque-type 'Template<int>' --with-derive-hash --with-derive-partialeq --with-derive-eq -- -std=c++14 2 3template <typename T> 4class Template { 5 T member; 6}; 7 8class ContainsInstantiation { 9 Template<char> not_opaque; 10}; 11 12class ContainsOpaqueInstantiation { 13 // We should not generate a layout test for this instantiation, and it 14 // should appear as an opaque blob of bytes in 15 // `ContainsOpaqueInstantiation`'s type definition. 16 Template<int> opaque; 17}; 18