// { dg-do compile { target c++11 } } template struct S; int i = S::undefined; // { dg-error "template argument 2 is invalid" }