1
0
mirror of https://github.com/msgpack/msgpack-c.git synced 2025-05-05 00:35:30 +02:00
msgpack/test/fuzz_unpack_pack_fuzzer_cpp11.cpp
2019-12-25 14:39:57 +09:00

18 lines
357 B
C++

#if defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wconversion"
#endif //defined(__GNUC__)
#include <gtest/gtest.h>
#if defined(__GNUC__)
#pragma GCC diagnostic pop
#endif //defined(__GNUC__)
#include "../fuzz/unpack_pack_fuzzer.cpp"
TEST(FUZZ_UNPACK_PACK_FUZZER, works)
{
EXPECT_EQ(0, LLVMFuzzerTestOneInput(0, 0));
}