[libc++] Add check to ensure oss-fuzz properly targets libc++.
authorEric Fiselier <eric@efcs.ca>
Thu, 12 Dec 2019 20:36:34 +0000 (15:36 -0500)
committerEric Fiselier <eric@efcs.ca>
Thu, 12 Dec 2019 20:37:06 +0000 (15:37 -0500)
libcxx/fuzzing/fuzzing.cpp

index d036f0c..7e58dba 100644 (file)
 #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.