[libc++] Add check to ensure oss-fuzz properly targets libc++.

This commit is contained in:
Eric Fiselier 2019-12-12 15:36:34 -05:00
parent c8e0bb3b2c
commit 27ec4abeac
1 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,10 @@
#include <cassert>
// If we had C++14, we could use the four iterator version of is_permutation and equal
#ifndef _LIBCPP_VERSION
#error These test should be built with libc++ only.
#endif
namespace fuzzing {
// This is a struct we can use to test the stable_XXX algorithms.