summaryrefslogtreecommitdiff
path: root/tests/headers/struct_with_anon_struct.h
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-08-09 18:35:01 -0500
committerGitHub <noreply@github.com>2017-08-09 18:35:01 -0500
commit828d46822459116311cb09dcc9847df1cf9c1dbf (patch)
tree2dc33b49a35db14adcec8ba88bae9db391753920 /tests/headers/struct_with_anon_struct.h
parentb6400942670694782d87ec0e2393463646e44eb9 (diff)
parentb4895d96698504dc28dfa64c4c4e4c3f3714a3c8 (diff)
Auto merge of #887 - photoszzt:derive_hash, r=fitzgen
Can derive hash analysis r? @fitzgen Fix: #876 I haven't enable too much test yet. Enable the option for all tests changes more than 200 of them. I want some input on which test is good to enable or write a new test.
Diffstat (limited to 'tests/headers/struct_with_anon_struct.h')
-rw-r--r--tests/headers/struct_with_anon_struct.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/headers/struct_with_anon_struct.h b/tests/headers/struct_with_anon_struct.h
index 1617d7a8..e6a8ab97 100644
--- a/tests/headers/struct_with_anon_struct.h
+++ b/tests/headers/struct_with_anon_struct.h
@@ -1,3 +1,5 @@
+// bindgen-flags: --with-derive-hash
+//
struct foo {
struct {
int a;