PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-ice12.C
blobc5483376c37f71bb191889c9352544bff5150a65
1 // PR c++/58609
2 // { dg-do compile { target c++11 } }
4 struct A
6   static constexpr int&& i = 0;
7 };
9 int j = A::i;