PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-template11.C
blob0ad49088ad15c7fccd4a75f334aba26c75e7b17d
1 // PR c++/65579
2 // { dg-do link { target c++11 } }
4 template <typename>
5 struct S {
6     int i;
7 };
9 struct T {
10   static constexpr S<int> s = { 1 };
13 int main()
15   return T::s.i;