// This tests that the coroutine elide optimization could happen succesfully.
// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-unknown-linux-gnu -std=c++20 -O2 -emit-llvm %s -o - | FileCheck %s
;
Task
Task
// CHECK: %_Z5task1v.Frame = type {{.*}}%_Z5task0v.Frame
// CHECK-LABEL: define{{.*}} void @_Z5task1v.resume
// CHECK-NOT: call{{.*}}_Znwm