// PR c++/84798 // { dg-do compile { target c++11 } } template struct S { static constexpr T value = 0; }; constexpr auto x = S::value; // { dg-error "auto" }