blob: 76d9246d6f169de8d1f3bb23e639ce9928f38210 [file] [log] [blame]
// PR c++/51305
// { dg-do compile { target c++11 } }
constexpr bool ok() noexcept
{
typedef int type;
return true;
}
constexpr auto x = ok();