PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-noexcept6.C
blob76d9246d6f169de8d1f3bb23e639ce9928f38210
1 // PR c++/51305
2 // { dg-do compile { target c++11 } }
4 constexpr bool ok() noexcept
6   typedef int type;
7   return true;
10 constexpr auto x = ok();