// RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -std=c++14 -fcoroutines-ts -fsyntax-only -Wignored-qualifiers -Wno-error=return-type -verify -fblocks -Wall -Wextra -Wno-error=unreachable-code
using std::experimental::suspend_always;
using std::experimental::suspend_never;
a;
;
;
;
;
;
;
;
;
;
;
;
void // expected-warning {{support for std::experimental::coroutine_traits will be removed}}
// expected-note@Inputs/std-coroutine-exp-namespace.h:8 {{'coroutine_traits' declared here}}
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}}