summaryrefslogtreecommitdiff
path: root/tests/headers/class_use_as.hpp
blob: 267185c7bc2a11b5413055f6a2305308dd1f4b4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// bindgen-flags: --with-derive-hash --with-derive-partialeq

/**
 * <div rustbindgen="true" replaces="whatever"></div>
 */
struct whatever_replacement {
    int replacement;
};

struct whatever {
    int b;
};

struct container {
    whatever c;
};