================
@@ -32,7 +34,19 @@ struct Task {
};
};
+struct IntTask {
+ struct promise_type {
+ IntTask get_return_object() noexcept;
+ std::suspend_always initial_suspend() noexcept;
+ std::suspend_always final_suspend() noexcept;
+ void return_value(int);
+ void unhandled_exception();
+ };
+};
+
S make();
+void dead();
----------------
Andres-Salamanca wrote:
Would it make sense to declare `dead()` as `extern "C"` here to avoid relying
on the mangled symbol name in the FileCheck?
https://github.com/llvm/llvm-project/pull/231046
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits