diff --git a/test/cuda_example/json_cuda.cu b/test/cuda_example/json_cuda.cu index 1d4057680..d686cd0f8 100644 --- a/test/cuda_example/json_cuda.cu +++ b/test/cuda_example/json_cuda.cu @@ -4,4 +4,8 @@ int main() { nlohmann::ordered_json json = {"Test"}; json.dump(); + + // regression for #3013 (ordered_json::reset() compile error with nvcc) + nlohmann::ordered_json metadata; + metadata.erase("key"); }