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

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

  int foo;
  Inner bar;
};

struct DontWhitelistMe {
  void* foo;
};