Home
last modified time | relevance | path

Searched refs:worker_ref (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.async/
H A Dasync_race.38682.pass.cpp32 static int& worker_ref(int& i) { return i; } in worker_ref() function
50 std::future<int&> fut = std::async(std::launch::async, worker_ref, std::ref(i)); in main()