// { dg-do compile { target c++11 } } #include template void foo(Args...) { } template void bar(Args... args) { foo(Args()...); foo(args = args...); foo(reinterpret_cast(&args)...); foo(const_cast(args)...); foo(static_cast(&args)...); foo(dynamic_cast(&args)...); foo(typeid(Args)...); }