-// { dg-options "-std=gnu++1y" }
-// { dg-do run }
+// { dg-do run { target c++14 } }
-// Copyright (C) 2013 Free Software Foundation, Inc.
+// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
}
{
- std::experimental::optional<long> o { std::experimental::in_place, 0x1234ABCDF1E2D3C4 };
+ const long val = 0x1234ABCD;
+ std::experimental::optional<long> o { std::experimental::in_place, val};
auto copy = o;
VERIFY( copy );
- VERIFY( *copy == 0x1234ABCDF1E2D3C4 );
- VERIFY( o && o == 0x1234ABCDF1E2D3C4 );
+ VERIFY( *copy == val );
+ VERIFY( o && o == val );
}
{