diff --git a/t/generated-code2/test-generated-code2.c b/t/generated-code2/test-generated-code2.c index 5198af6..e29f15d 100755 --- a/t/generated-code2/test-generated-code2.c +++ b/t/generated-code2/test-generated-code2.c @@ -5,6 +5,9 @@ #include "t/test-optimized.pb-c.h" #include "t/generated-code2/test-full-cxx-output.inc" +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeclaration-after-statement" + #define TEST_ENUM_SMALL_TYPE_NAME Foo__TestEnumSmall #define TEST_ENUM_SMALL(shortname) FOO__TEST_ENUM_SMALL__##shortname #define TEST_ENUM_TYPE_NAME Foo__TestEnum