summaryrefslogtreecommitdiff
path: root/tests/headers/extern-const-struct.h
diff options
context:
space:
mode:
authorEric Seppanen <eds@reric.net>2021-06-06 15:10:34 -0700
committerEmilio Cobos Álvarez <emilio@crisal.io>2021-07-16 21:23:05 +0200
commitf65f2307f69a85cc7857b88409fe89c2bd2f79b7 (patch)
tree56ffc0d4d78fada533f9b107ff683553d99dfe2c /tests/headers/extern-const-struct.h
parentb6109c00fcb13a27e06387ce2ef417a54c24cf3f (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