Skip to content

Commit

Permalink
Fix includes on test program
Browse files Browse the repository at this point in the history
The origional test program works when compiling with stdlibc++
but not libc++.
  • Loading branch information
nathaniel-brough committed Apr 26, 2023
1 parent 3119f19 commit f5f975b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ set(CMAKE_REQUIRED_LINK_OPTIONS "-fsanitize=fuzzer")
set(CMAKE_REQUIRED_FLAGS "-fsanitize=fuzzer-no-link")
check_cxx_source_compiles([[
#include <cstdint>
#include <cstddef>
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, std::size_t Size) {
return 0;
}
Expand Down

0 comments on commit f5f975b

Please sign in to comment.