blob: cf65276a689fd36141ecf1507580ebe5b51fca7c [file] [log] [blame]
// bindgen-flags: --opaque-type ".*" --allowlist-function=foo --with-derive-hash --with-derive-partialeq --with-derive-eq
class Container;
// The allowlist tracing should reach the Container type, even though it's
// marked as opaque.
void foo(Container* c);
template<typename T>
class Wat {
T foo;
};
class OtherOpaque {
int bar;
};
class Container {
Wat<int> bar;
OtherOpaque baz;
};