]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/third_party/nlohmann-json/test/cuda_example/json_cuda.cu
d686cd0f8a80055c8828b42b264ef367cc45e901
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / third_party / nlohmann-json / test / cuda_example / json_cuda.cu
1 #include <nlohmann/json.hpp>
2
3 int main()
4 {
5 nlohmann::ordered_json json = {"Test"};
6 json.dump();
7
8 // regression for #3013 (ordered_json::reset() compile error with nvcc)
9 nlohmann::ordered_json metadata;
10 metadata.erase("key");
11 }