Skip to content

Commit

Permalink
Try to reproduce minimal std::async error
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobiasd committed Jun 12, 2024
1 parent 34c88e3 commit e44db4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 38 deletions.
38 changes: 0 additions & 38 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,44 +21,6 @@ enable_testing()
set(
tests
show_versions
benchmark_session_test
compare_test
composition_test
container_common_test
container_properties_test
container_traits_test
curry_test
extrapolate_test
filter_test
function_traits_test
fwd_test
generate_test
interpolate_test
invoke_test
maps_test
maybe_test
numeric_test
optimize_test
pairs_test
queue_test
raii_test
read_test
readme_examples_test
result_test
replace_test
search_test
sets_test
shared_ref_test
show_test
side_effects_test
split_test
stopwatch_test
stringtools_test
transform_test
timed_test
tree_test
udemy_course_test
variant_test
)

foreach (name IN LISTS tests)
Expand Down
3 changes: 3 additions & 0 deletions test/show_versions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,7 @@ TEST_CASE("show_versions - print_defines")
#ifdef __GLIBCXX__
std::cout << "__GLIBCXX__: " << __GLIBCXX__ << std::endl;
#endif

auto handle = std::async(std::launch::async, []() { return 1; });
auto result = handle.get();
}

0 comments on commit e44db4c

Please sign in to comment.