// Verify that coroutine promise and allocated memory are freed up on exception.
// RUN: %clang_cc1 -no-opaque-pointers -std=c++20 -triple=x86_64-unknown-linux-gnu -emit-llvm -o - %s -fexceptions -fcxx-exceptions -disable-llvm-passes | FileCheck %s
// namespace std
;
;
;
void ;
// CHECK-LABEL: define{{.*}} void @_Z1fv(
void
// CHECK-LABEL: define{{.*}} void @_Z1gv(
void