diff options
-rw-r--r-- | libcxx/fuzzing/fuzzing.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/fuzzing/fuzzing.cpp b/libcxx/fuzzing/fuzzing.cpp index d036f0cbb8b..7e58dba0c27 100644 --- a/libcxx/fuzzing/fuzzing.cpp +++ b/libcxx/fuzzing/fuzzing.cpp @@ -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. |