1 // RUN: %clang_cc1 -triple x86_64-pc-windows-msvc18.0.0 -emit-llvm %s -o - -std=c++20 -disable-llvm-passes | FileCheck %s
3 bool await_ready() { return true; }
4 template <typename F
> void await_suspend(F
) {}
9 no_suspend
operator co_await() { return {}; }
14 no_suspend
operator co_await(B
const&) { return {}; }
20 // CHECK: call void @"??__LA@@QEAA?AUno_suspend@@XZ"(
21 a
.operator co_await();
22 // CHECK-NEXT: call i8 @"??__L@YA?AUno_suspend@@AEBUB@@@Z"(