2 // { dg-do compile { target c++11 } }
4 template<typename R> struct future { };
6 template<typename Fn, typename... Args>
8 async(Fn&& fn, Args&&... args)
9 -> future<decltype(fn(args...))>;
11 template<typename Fn, typename... Args>
13 async(Fn&& fn, Args&&... args)
14 -> future<decltype(fn(args...))>;