summaryrefslogtreecommitdiff
path: root/libbindgen/tests/headers/whitelist_basic.hpp
blob: 8424f75a8e81fb7fd726fa7fd0e845fabd118d49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// bindgen-flags: --whitelist-type WhitelistMe

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

  int foo;
  Inner bar;
};

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