// { dg-options "-std=gnu++0x" } template struct wrap { }; template int& f(const Args&...); template float& f(const wrap&...); int& g(int x, float y, double z) { return f(x, y, z); } float& h(wrap x, wrap y, wrap z) { return f(x, y, z); }