]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/jaegertracing/opentelemetry-cpp/third_party/nlohmann-json/test/cuda_example/json_cuda.cu
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / third_party / nlohmann-json / test / cuda_example / json_cuda.cu
diff --git a/ceph/src/jaegertracing/opentelemetry-cpp/third_party/nlohmann-json/test/cuda_example/json_cuda.cu b/ceph/src/jaegertracing/opentelemetry-cpp/third_party/nlohmann-json/test/cuda_example/json_cuda.cu
new file mode 100644 (file)
index 0000000..d686cd0
--- /dev/null
@@ -0,0 +1,11 @@
+#include <nlohmann/json.hpp>
+
+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");
+}