blob: 0bd068cee05929f37202a62b9b0c85ae961e122a [file] [log] [blame]
// { dg-do compile { target c++11 } }
template<typename T, typename... Args>
void f(const T&, const Args&... args)
{
f(args); // { dg-error "4:parameter packs not expanded" }
}
template<typename... Values>
struct tuple_base { };
template<typename... Values>
struct tuple : tuple_base<Values> { }; // { dg-error "packs not expanded" }
// { dg-message "args" "note" { target *-*-* } 5 }
// { dg-message "Values" "note" { target *-*-* } 12 }