diff options
author | Eric Seppanen <eds@reric.net> | 2021-06-06 15:10:34 -0700 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2021-07-16 21:23:05 +0200 |
commit | f65f2307f69a85cc7857b88409fe89c2bd2f79b7 (patch) | |
tree | 56ffc0d4d78fada533f9b107ff683553d99dfe2c /tests/headers/extern-const-struct.h | |
parent | b6109c00fcb13a27e06387ce2ef417a54c24cf3f (diff) |
add test for add_derives
This test derives PartialEq for the Test struct, and then attempts to
use that by calling assert_ne! on two Test instances. If the derive
callback doesn't work, no PartialEq will be present and the test will
fail to compile.
Diffstat (limited to 'tests/headers/extern-const-struct.h')
0 files changed, 0 insertions, 0 deletions