Skip to content

Commit ec46f29

Browse files
committed
Format empty_in_place_t_does_not_clobber
1 parent b23a4b1 commit ec46f29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/empty_in_place_t_does_not_clobber.pass.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// UNSUPPORTED: c++03, c++11, c++14
9+
// REQUIRES: std-at-least-c++17
1010
// <optional>
1111

1212
// constexpr optional(in_place_t);
@@ -15,9 +15,9 @@
1515
// in_place_t constructor with no arguments when the Clang is trying to check
1616
// copy constructor.
1717

18+
#include <cassert>
1819
#include <optional>
1920
#include <type_traits>
20-
#include <cassert>
2121

2222
#include "test_macros.h"
2323
#include "archetypes.h"
@@ -32,7 +32,7 @@ struct Wrapped {
3232
};
3333

3434
int main(int, char**) {
35-
static_assert(std::is_default_constructible<Wrapped::Inner>::value, "");
35+
static_assert(std::is_default_constructible<Wrapped::Inner>::value);
3636
Wrapped w;
3737
w.inner.emplace();
3838
assert(w.inner.has_value());

0 commit comments

Comments
 (0)