+
+AT_SETUP([check wrong struct's declared size])
+RUN_STRUCT_CHECKER(
+[struct moo {
+ ovs_be64 bar;
+};
+OFP_ASSERT(sizeof(struct moo) == 8);
+struct wibble {
+ ovs_be64 z;
+};
+OFP_ASSERT(sizeof(struct moo) == 8);
+], [1], [], [test.h:8: warning: checking size of struct moo but struct wibble was most recently defined
+])
+AT_CLEANUP