blob: 101d220c547c16915e1d2c80ad4f6546cabc9ab1 [file] [log] [blame]
// { dg-do compile { target c++11 } }
template<typename...> struct list {};
template<typename Sequence, typename Head>
struct push_front;
template<typename... Elements, typename Head>
struct push_front<list<Elements...>, Head> {
typedef list<Head, Elements> type; // { dg-error "parameter packs not expanded" }
};
// { dg-message "Elements" "note" { target *-*-* } 9 }