Home
last modified time | relevance | path

Searched defs:coroutine_traits (Results 1 – 1 of 1) sorted by relevance

/external/clang/test/SemaCXX/
Dcoroutines.cpp31 struct std::coroutine_traits<coro<Promise>, Ps...> { struct in std
36 …a; // expected-error {{implicit instantiation of undefined template 'std::coroutine_traits<void>'}} in no_specialization()
39 template<typename ...T> struct std::coroutine_traits<int, T...> {}; struct in std
45 template<> struct std::coroutine_traits<double, double> { typedef int promise_type; };
50 template<> struct std::coroutine_traits<double, int> { struct in std
54 …co_yield 0; // expected-error {{no member named 'yield_value' in 'std::coroutine_traits<double, in… in bad_promise_type_2()
58 template<typename ...T> struct std::coroutine_traits<void, T...> { using promise_type = promise; };
186 template<> struct std::coroutine_traits<void, yield_fn_tag> { struct in std
187 struct promise_type {