From a17e8914f7724f030b0647bb4584dc59efeee4b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Harrtell?= Date: Sat, 4 Sep 2021 17:08:32 +0200 Subject: [PATCH] Reproduce issue 210 --- test/monster_test/monster_test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/monster_test/monster_test.c b/test/monster_test/monster_test.c index 400415c5..82d92b8d 100644 --- a/test/monster_test/monster_test.c +++ b/test/monster_test/monster_test.c @@ -828,6 +828,9 @@ int gen_monster(flatcc_builder_t *B, int with_size) ns(Monster_enemy_start(B)); ns(Monster_name_create_str(B, "the enemy")); + + // causes alignment problems + ns(Monster_vector_of_doubles_create(B, 0, 0)); /* Create array of monsters to test various union constructors. */ ns(Monster_testarrayoftables_start(B));