// { dg-options "-std=c++0x" } template struct A { static T i; // { dg-error "parameter packs|T" } }; int j = A::i; // { dg-error "not a member" }