summaryrefslogtreecommitdiff
path: root/tests/headers/allowlist_basic.hpp
blob: ef858c95dace9f3344a113d96c9a149491fc2ac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// bindgen-flags: --allowlist-type AllowlistMe

template<typename T>
class AllowlistMe {
  class Inner {
    T bar;
  };

  int foo;
  Inner bar;
};

struct DontAllowlistMe {
  void* foo;
  double _Complex noComplexGenerated;
};