Add another constexpr test

MSVC 14 RC doesn't call the constexpr conversion operator in some cases.
It complains:
boost_no_constexpr.ipp(72): error C2051: case expression not constant
This commit is contained in:
Marcel Raad
2015-06-27 13:08:29 +02:00
parent 046b9d95e0
commit cd72cbe273

View File

@ -66,6 +66,13 @@ int test()
{
int i = square(5);
quiet_warning(i);
switch (i)
{
case a:
break;
}
return 0;
}