// RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -std=c++20 -fsyntax-only -Wignored-qualifiers -Wno-error=return-type -verify -fblocks -Wall -Wextra -Wno-error=unreachable-code
using std::suspend_always;
using std::suspend_never;
a;
;
;
;
;
;
;
;
;
;
;
;
void
float
int // expected-warning {{non-void coroutine does not return a value}}
int // expected-warning {{non-void coroutine does not return a value in all control paths}}
int
int
void // expected-warning {{non-void coroutine does not return a value}}
void // expected-warning {{non-void coroutine does not return a value in all control paths}}
void
VoidTagReturnVoid
VoidTagReturnVoid
VoidTagReturnValue // expected-warning {{non-void coroutine does not return a value}}
VoidTagReturnValue // expected-warning {{non-void coroutine does not return a value in all control paths}}