diff --git a/tests/cuda_example/json_cuda.cu b/tests/cuda_example/json_cuda.cu index be9f7eca2..76d631fa4 100644 --- a/tests/cuda_example/json_cuda.cu +++ b/tests/cuda_example/json_cuda.cu @@ -24,8 +24,10 @@ int main() nlohmann::json a = {1, 2, 3}; nlohmann::json b = {1, 2, 3}; static_cast(a == b); +#if JSON_HAS_THREE_WAY_COMPARISON static_cast(a <=> b); // *NOPAD* static_cast(a <=> 1); // *NOPAD* +#endif for (const auto& element : a) { static_cast(element);