1 // PR c++/63405
2 // { dg-do compile { target c++11 } }
3 
4 template <typename _Tp> _Tp forward(_Tp);
5 template <typename Args> struct Format { Format(int, Args); };
6 template <typename... Args> auto format(Args &&... args) -> Format<Args...> {
7   return {0, args...};
8 }
9 
msg(Args...args)10 template <typename... Args> void msg(Args... args) {
11   format(forward(args)...);
12 }
13 
some_function()14 void some_function() { msg('x'); }
15