diff options
Diffstat (limited to 'test/std/experimental/language.support/support.coroutines')
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.capacity/operator_bool.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.capacity/operator_bool.sh.cpp) | 4 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/equal_comp.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/equal_comp.sh.cpp) | 4 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/less_comp.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/less_comp.sh.cpp) | 4 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.completion/done.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.completion/done.sh.cpp) | 4 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/assign.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/assign.sh.cpp) | 4 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/construct.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/construct.sh.cpp) | 4 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/address.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/address.sh.cpp) | 4 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/from_address.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/from_address.sh.cpp) | 4 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.hash/hash.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.hash/hash.sh.cpp) | 4 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.prom/promise.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.prom/promise.sh.cpp) | 4 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/destroy.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/destroy.sh.cpp) | 4 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/resume.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/resume.sh.cpp) | 4 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/coroutine.handle/void_handle.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/coroutine.handle/void_handle.sh.cpp) | 4 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/coroutine.traits/promise_type.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/coroutine.traits/promise_type.sh.cpp) | 4 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_always.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_always.sh.cpp) | 8 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_never.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_never.sh.cpp) | 8 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/end.to.end/await_result.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/end.to.end/await_result.sh.cpp) | 5 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/end.to.end/bool_await_suspend.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/end.to.end/bool_await_suspend.sh.cpp) | 7 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/end.to.end/expected.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/end.to.end/expected.sh.cpp) | 4 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/end.to.end/fullexpr-dtor.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/end.to.end/fullexpr-dtor.sh.cpp) | 9 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/end.to.end/generator.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/end.to.end/generator.sh.cpp) | 7 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/end.to.end/go.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/end.to.end/go.sh.cpp) | 8 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/end.to.end/multishot_func.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/end.to.end/multishot_func.sh.cpp) | 4 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/end.to.end/oneshot_func.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/end.to.end/oneshot_func.sh.cpp) | 4 | ||||
-rw-r--r-- | test/std/experimental/language.support/support.coroutines/includes.pass.cpp (renamed from test/std/experimental/language.support/support.coroutines/includes.sh.cpp) | 6 |
25 files changed, 13 insertions, 113 deletions
diff --git a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.capacity/operator_bool.sh.cpp b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.capacity/operator_bool.pass.cpp index a744f56eb811..30081fc3ada3 100644 --- a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.capacity/operator_bool.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.capacity/operator_bool.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run // <experimental/coroutine> diff --git a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/equal_comp.sh.cpp b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/equal_comp.pass.cpp index 05c3f230e5ca..278ea9d0660a 100644 --- a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/equal_comp.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/equal_comp.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run // <experimental/coroutine> diff --git a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/less_comp.sh.cpp b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/less_comp.pass.cpp index 7b3bcc394c8c..e92adf033232 100644 --- a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/less_comp.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/less_comp.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run // <experimental/coroutine> diff --git a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.completion/done.sh.cpp b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.completion/done.pass.cpp index 48c3ca50cbf1..74a9e7bda04e 100644 --- a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.completion/done.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.completion/done.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run // <experimental/coroutine> diff --git a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/assign.sh.cpp b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/assign.pass.cpp index 9e7fb5b2f687..0cd3d05c2de0 100644 --- a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/assign.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/assign.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run // <experimental/coroutine> diff --git a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/construct.sh.cpp b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/construct.pass.cpp index 961253fb7ca5..be5174dd3439 100644 --- a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/construct.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/construct.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run // <experimental/coroutine> diff --git a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/address.sh.cpp b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/address.pass.cpp index 7258f93905f3..aba5eb66314e 100644 --- a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/address.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/address.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run // <experimental/coroutine> diff --git a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/from_address.sh.cpp b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/from_address.pass.cpp index 26a45b033ff5..636d5da4ec6c 100644 --- a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/from_address.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/from_address.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run // <experimental/coroutine> diff --git a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.hash/hash.sh.cpp b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.hash/hash.pass.cpp index 5f66b3e11314..34223296231c 100644 --- a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.hash/hash.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.hash/hash.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run // <experimental/coroutine> diff --git a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.prom/promise.sh.cpp b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.prom/promise.pass.cpp index b38d7871be4b..4a61047a830a 100644 --- a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.prom/promise.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.prom/promise.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run // <experimental/coroutine> diff --git a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/destroy.sh.cpp b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/destroy.pass.cpp index 9cc0d1d72bf7..df3337c4cc01 100644 --- a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/destroy.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/destroy.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run // <experimental/coroutine> diff --git a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/resume.sh.cpp b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/resume.pass.cpp index b5ff187a49ce..21c05e2be9a4 100644 --- a/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/resume.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/resume.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run // <experimental/coroutine> diff --git a/test/std/experimental/language.support/support.coroutines/coroutine.handle/void_handle.sh.cpp b/test/std/experimental/language.support/support.coroutines/coroutine.handle/void_handle.pass.cpp index 945304a4673d..844d34cc4896 100644 --- a/test/std/experimental/language.support/support.coroutines/coroutine.handle/void_handle.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/coroutine.handle/void_handle.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run #include <experimental/coroutine> diff --git a/test/std/experimental/language.support/support.coroutines/coroutine.traits/promise_type.sh.cpp b/test/std/experimental/language.support/support.coroutines/coroutine.traits/promise_type.pass.cpp index c1d3b818d403..e26f333aa407 100644 --- a/test/std/experimental/language.support/support.coroutines/coroutine.traits/promise_type.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/coroutine.traits/promise_type.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run #include <experimental/coroutine> diff --git a/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_always.sh.cpp b/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_always.pass.cpp index 1987f68e70ab..b10e72082c7a 100644 --- a/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_always.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_always.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run #include <experimental/coroutine> #include <type_traits> @@ -70,4 +66,8 @@ int main() static_assert(std::is_trivially_copyable<S>::value, ""); static_assert(check_suspend_constexpr(), ""); } + { + // suppress unused warnings for the global constexpr test variable + ((void)constexpr_sa); + } } diff --git a/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_never.sh.cpp b/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_never.pass.cpp index 72e0ac024558..9c2f392381f2 100644 --- a/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_never.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_never.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run #include <experimental/coroutine> #include <type_traits> @@ -72,4 +68,8 @@ int main() static_assert(std::is_trivially_copyable<S>::value, ""); static_assert(check_suspend_constexpr(), ""); } + { + // suppress unused warnings for the global constexpr test variable + ((void)constexpr_sn); + } } diff --git a/test/std/experimental/language.support/support.coroutines/end.to.end/await_result.sh.cpp b/test/std/experimental/language.support/support.coroutines/end.to.end/await_result.pass.cpp index cca875d1a6ba..769a825df001 100644 --- a/test/std/experimental/language.support/support.coroutines/end.to.end/await_result.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/end.to.end/await_result.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run #include <experimental/coroutine> #include <cassert> @@ -58,6 +54,7 @@ coro_t f(int n) { co_return; } int val = co_await A{}; + ((void)val); set_value(42); } diff --git a/test/std/experimental/language.support/support.coroutines/end.to.end/bool_await_suspend.sh.cpp b/test/std/experimental/language.support/support.coroutines/end.to.end/bool_await_suspend.pass.cpp index e51ac67f0fef..9c3becffc0ac 100644 --- a/test/std/experimental/language.support/support.coroutines/end.to.end/bool_await_suspend.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/end.to.end/bool_await_suspend.pass.cpp @@ -9,13 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// FIXME: When run under UBSAN this test hits an assertion inside Clang -// XFAIL: ubsan - -// RUN: %build -fcoroutines-ts -// RUN: %run #include <experimental/coroutine> #include <cassert> diff --git a/test/std/experimental/language.support/support.coroutines/end.to.end/expected.sh.cpp b/test/std/experimental/language.support/support.coroutines/end.to.end/expected.pass.cpp index b6832b0c1886..77070cc5a3b0 100644 --- a/test/std/experimental/language.support/support.coroutines/end.to.end/expected.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/end.to.end/expected.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run #include <experimental/coroutine> #include <cassert> diff --git a/test/std/experimental/language.support/support.coroutines/end.to.end/fullexpr-dtor.sh.cpp b/test/std/experimental/language.support/support.coroutines/end.to.end/fullexpr-dtor.pass.cpp index c7e34fe919e1..20bcf60fbf00 100644 --- a/test/std/experimental/language.support/support.coroutines/end.to.end/fullexpr-dtor.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/end.to.end/fullexpr-dtor.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run #include <experimental/coroutine> #include <cassert> @@ -67,6 +63,7 @@ coro2 a() { assert(alive == 1); assert(ctor_called == 1); assert(dtor_called == 0); + ((void)x); } assert(alive == 0); assert(dtor_called == 1); @@ -75,7 +72,7 @@ coro2 a() { coro2 b() { reset(); { - co_await Bug{}; + (void)(co_await Bug{}); assert(ctor_called == 1); assert(dtor_called == 1); assert(alive == 0); @@ -102,7 +99,7 @@ coro2 c() { coro2 d() { reset(); { - co_yield 42; + (void)(co_yield 42); assert(ctor_called == 1); assert(dtor_called == 1); assert(alive == 0); diff --git a/test/std/experimental/language.support/support.coroutines/end.to.end/generator.sh.cpp b/test/std/experimental/language.support/support.coroutines/end.to.end/generator.pass.cpp index 4681793ed814..9200fae91576 100644 --- a/test/std/experimental/language.support/support.coroutines/end.to.end/generator.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/end.to.end/generator.pass.cpp @@ -9,13 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// FIXME: When run under UBSAN this test hits an assertion inside Clang -// XFAIL: ubsan - -// RUN: %build -fcoroutines-ts -// RUN: %run #include <experimental/coroutine> #include <vector> diff --git a/test/std/experimental/language.support/support.coroutines/end.to.end/go.sh.cpp b/test/std/experimental/language.support/support.coroutines/end.to.end/go.pass.cpp index e0d69104fdaf..1fdf2c8558eb 100644 --- a/test/std/experimental/language.support/support.coroutines/end.to.end/go.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/end.to.end/go.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run #include <experimental/coroutine> #include <cassert> @@ -166,9 +162,7 @@ goroutine pusher(channel& left, channel& right) } } -const int N = 100; //100'000'000; -const int repeat = 1; - +const int N = 100; channel* c = new channel[N + 1]; int main() { diff --git a/test/std/experimental/language.support/support.coroutines/end.to.end/multishot_func.sh.cpp b/test/std/experimental/language.support/support.coroutines/end.to.end/multishot_func.pass.cpp index e13196c253ea..e3c96530335d 100644 --- a/test/std/experimental/language.support/support.coroutines/end.to.end/multishot_func.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/end.to.end/multishot_func.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run #include <experimental/coroutine> #include <cassert> diff --git a/test/std/experimental/language.support/support.coroutines/end.to.end/oneshot_func.sh.cpp b/test/std/experimental/language.support/support.coroutines/end.to.end/oneshot_func.pass.cpp index 9c94f73b2a70..d5f2c40e2a79 100644 --- a/test/std/experimental/language.support/support.coroutines/end.to.end/oneshot_func.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/end.to.end/oneshot_func.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run #include <experimental/coroutine> #include <vector> diff --git a/test/std/experimental/language.support/support.coroutines/includes.sh.cpp b/test/std/experimental/language.support/support.coroutines/includes.pass.cpp index f9d8a572256c..b30d8c7ed24f 100644 --- a/test/std/experimental/language.support/support.coroutines/includes.sh.cpp +++ b/test/std/experimental/language.support/support.coroutines/includes.pass.cpp @@ -9,10 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// REQUIRES: fcoroutines-ts - -// RUN: %build -fcoroutines-ts -// RUN: %run // <experimental/coroutine> @@ -20,8 +16,6 @@ #include <experimental/coroutine> - - int main(){ // std::nothrow is not implicitly defined by the compiler when the include is // missing, unlike other parts of <new>. Therefore we use std::nothrow to |