summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/issue-833.hpp
blob: f8b708bf165c4b0763b518effe8da616b848e370 (plain)
1
2
3
4
5
6
7
8
// bindgen-flags: --generate functions --allowlist-function func --raw-line "#[repr(C)] pub struct nsTArray<T> { pub hdr: *const T }"

template<typename T>
class nsTArray {
  T* mHeader;
};

extern "C" nsTArray<int>* func();