summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/derive-debug-opaque-template-instantiation.hpp
blob: 0c70fcc53a5c541f9e9449e28027b63d91be9a53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// bindgen-flags: --impl-debug --rust-target 1.40

// This type is opaque because the second template parameter
// is a non-type template parameter
template<typename T, int N>
class Opaque {
  T array[N];
};

class Instance {
  Opaque<int, 50> val;
};