1// bindgen-flags: --opaque-type ".*" --allowlist-function=foo  --with-derive-hash --with-derive-partialeq --with-derive-eq
2
3class Container;
4
5// The allowlist tracing should reach the Container type, even though it's
6// marked as opaque.
7void foo(Container* c);
8
9template<typename T>
10class Wat {
11  T foo;
12};
13
14class OtherOpaque {
15  int bar;
16};
17
18class Container {
19  Wat<int> bar;
20  OtherOpaque baz;
21};
22