diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-15 21:41:42 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-15 21:41:42 +0000 |
commit | 06404c025bd067f0da278254698b11d5a57f4e08 (patch) | |
tree | e813bdb690053a9fe4a9b575f4969dc361621800 /tests/regression/issue_647/repro.c | |
parent | 2564b3f49ffa162bdb64a453516597d51c50261e (diff) | |
parent | 3d47405fb1fd7715ae66deb8262c922ca889fc87 (diff) | |
download | nanopb-c-aml_tz3_314012010.tar.gz |
Snap for 8730993 from 3d47405fb1fd7715ae66deb8262c922ca889fc87 to mainline-tzdata3-releaseaml_tz3_314012070aml_tz3_314012050aml_tz3_314012010aml_tz3_313110000aml_tz3_312511020aml_tz3_312511010aml_tz3_312410020aml_tz3_312410010android12-mainline-tzdata3-releaseaml_tz3_314012010
Change-Id: Ibe4fe663dd239c669f0430196e0e7e29feaf4089
Diffstat (limited to 'tests/regression/issue_647/repro.c')
-rw-r--r-- | tests/regression/issue_647/repro.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/regression/issue_647/repro.c b/tests/regression/issue_647/repro.c deleted file mode 100644 index 48d9570..0000000 --- a/tests/regression/issue_647/repro.c +++ /dev/null @@ -1,16 +0,0 @@ -#include <pb_decode.h> -#include <unittests.h> -#include <malloc_wrappers.h> -#include "repro.pb.h" - -int main() { - const uint8_t data[] = {0x08, 0x08, 0x2d}; - int status = 0; - Repro repro = Repro_init_zero; - - pb_istream_t stream = pb_istream_from_buffer(data, sizeof(data)); - TEST(!pb_decode(&stream, Repro_fields, &repro)); - TEST(get_alloc_count() == 0); - - return status; -} |