summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/issue-944-derive-copy-and-blocklisting.hpp
blob: 5e94dfabd407191462124e2cd3bc2a1ddbe7495b (plain)
1
2
3
4
5
6
7
8
9
10
// bindgen-flags: --blocklist-type BlocklistMe --raw-line 'pub struct BlocklistMe(u8);'

struct BlocklistMe {};

/**
 * Because this type contains a blocklisted type, it should not derive Copy.
 */
struct ShouldNotBeCopy {
    BlocklistMe a;
};