GorNishanov accepted this revision. GorNishanov added a comment. This revision is now accepted and ready to land.
LGTM ================ Comment at: test/SemaCXX/coroutines.cpp:842 +struct bad_await_suspend_return { + bool await_ready(); + // expected-error@+1 {{the return type of 'await_suspend' is required to be 'void' or 'bool' (have 'char')}} ---------------- For test completeness, I would have a positive case for something like a std::true_type returning await_ready https://reviews.llvm.org/D33625 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits