Skip to content

Test <coroutine> - #1215

Merged
Stephan T. Lavavej (StephanTLavavej) merged 17 commits into
microsoft:masterfrom
StephanTLavavej:coroutine_test
Aug 22, 2020
Merged

Test <coroutine>#1215
Stephan T. Lavavej (StephanTLavavej) merged 17 commits into
microsoft:masterfrom
StephanTLavavej:coroutine_test

Conversation

@StephanTLavavej

Copy link
Copy Markdown
Member

Works towards #40.

This test was contributed by Jonathan Emmett (@joemmett). It requires symmetric transfer, implemented by Victor Tong for VS 2019 16.8 Preview 3.

After verifying that the test compiles cleanly and passes with our current development build of the compiler, I guarded it with __cpp_lib_coroutine >= 201902L. This will be activated when MSVC updates the compiler macro __cpp_impl_coroutine (expected in VS 2019 16.8 Preview 3/4) and similarly for Clang/EDG.

This test is incompatible with /await, but #1207 is removing that from the usual_latest_matrix.lst.

@StephanTLavavej Stephan T. Lavavej (StephanTLavavej) added cxx20 C++20 feature test Related to test code labels Aug 20, 2020
Comment thread tests/std/tests/P0912R5_coroutine/test.cpp Outdated
Comment thread tests/std/tests/P0912R5_coroutine/test.cpp
Comment thread tests/std/tests/P0912R5_coroutine/test.cpp Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cxx20 C++20 feature test Related to test code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants