// RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -std=c++14 -fcoroutines-ts \
// RUN: -fsyntax-only -Wignored-qualifiers -Wno-error=return-type -verify \
// RUN: -fblocks
using namespace std::experimental;
;
;
;
;
;
bool ;
bool ;
;
;
MyForLoopArrayAwaiter
;
ForLoopAwaiterBadBeginTransform
ForLoopAwaiterBadBeginTransform
; // expected-note {{requested here}}
Awaiter<Iter> operator ;
// expected-note@-1 1+ {{explicitly deleted}}
;
ForLoopAwaiterBadIncTransform
ForLoopAwaiterBadIncTransform
; // expected-note {{requested here}}
// Ensure we mark and check the function as a coroutine even if it's
// never instantiated.
constexpr void
// namespace NS
using NS::ForLoopAwaiterCoawaitLookup;
ForLoopAwaiterCoawaitLookup
; // expected-note {{requested here}}
// FIXME: This test should fail as well since the newly declared operator co_await
// should not be found by lookup.
using NS2::operator co_await;
;