llvm-svn: 209819
This commit is contained in:
Nico Weber 2014-05-29 14:58:38 +00:00
parent 50c1532a1a
commit ded9de5981
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ int main()
#if _LIBCPP_STD_VER > 11
{
// Note that you can't take a reference to a local var, since
// it's address is not a compile-time constant.
// its address is not a compile-time constant.
constexpr static int x = 1;
constexpr static int y = 0;
constexpr auto p1 = std::minmax (x, y);

View File

@ -51,7 +51,7 @@ int main()
#if _LIBCPP_STD_VER > 11
{
// Note that you can't take a reference to a local var, since
// it's address is not a compile-time constant.
// its address is not a compile-time constant.
constexpr static int x = 1;
constexpr static int y = 0;
constexpr auto p1 = std::minmax(x, y, std::greater<>());