================
@@ -291,6 +294,38 @@ void mixed_coreturn_template2(bool b, T) {
     return; // expected-error {{not allowed in coroutine}}
 }
 
+struct promise_handle;
+
+struct Handle : std::coroutine_handle<promise_handle> { // expected-note 
2{{candidate constructor (the implicit copy constructor) not viable}}
----------------
ilya-biryukov wrote:

NIT: for brevity we could use a shorter substring (same below)
```suggestion
struct Handle : std::coroutine_handle<promise_handle> { // expected-note 2{{not 
viable}}
```

https://github.com/llvm/llvm-project/pull/100985
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to