aboutsummaryrefslogtreecommitdiffstats
path: root/test/std/experimental/language.support/support.coroutines/end.to.end/bool_await_suspend.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/experimental/language.support/support.coroutines/end.to.end/bool_await_suspend.pass.cpp')
-rw-r--r--test/std/experimental/language.support/support.coroutines/end.to.end/bool_await_suspend.pass.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/std/experimental/language.support/support.coroutines/end.to.end/bool_await_suspend.pass.cpp b/test/std/experimental/language.support/support.coroutines/end.to.end/bool_await_suspend.pass.cpp
index 9c3becffc0ac..12ab92ff3004 100644
--- a/test/std/experimental/language.support/support.coroutines/end.to.end/bool_await_suspend.pass.cpp
+++ b/test/std/experimental/language.support/support.coroutines/end.to.end/bool_await_suspend.pass.cpp
@@ -10,6 +10,9 @@
// UNSUPPORTED: c++98, c++03, c++11
+// See https://bugs.llvm.org/show_bug.cgi?id=33271
+// UNSUPPORTED: ubsan
+
#include <experimental/coroutine>
#include <cassert>
@@ -22,7 +25,7 @@ struct coro_t {
}
suspend_never initial_suspend() { return {}; }
suspend_never final_suspend() { return {}; }
- void return_void(){}
+ void return_void() {}
void unhandled_exception() {}
};
coro_t(coroutine_handle<promise_type> hh) : h(hh) {}