diff options
author | Stephan T. Lavavej <stl@microsoft.com> | 2019-10-23 11:45:36 -0700 |
---|---|---|
committer | Stephan T. Lavavej <stl@microsoft.com> | 2019-10-23 11:49:43 -0700 |
commit | 7c9844b66e5e0cca1424e0688b4384d4ec23325a (patch) | |
tree | 5f914be387c2769f1fe29758006e4bae80558b0f /libcxx/test/std/utilities/optional/optional.object | |
parent | bf2975eca0a1176b0256ba538debf121c2f7f11c (diff) | |
download | bcm5719-llvm-7c9844b66e5e0cca1424e0688b4384d4ec23325a.tar.gz bcm5719-llvm-7c9844b66e5e0cca1424e0688b4384d4ec23325a.zip |
[libcxx][NFC] Strip trailing whitespace, fix typo.
Diffstat (limited to 'libcxx/test/std/utilities/optional/optional.object')
-rw-r--r-- | libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ctor.fail.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ctor.fail.cpp b/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ctor.fail.cpp index afde18518cf..fe7808b8776 100644 --- a/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ctor.fail.cpp +++ b/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ctor.fail.cpp @@ -25,8 +25,8 @@ int main(int, char**) { { std::optional<char &> o1; // expected-error-re@optional:* {{static_assert failed{{.*}} "instantiation of optional with a reference type is ill-formed"}} - std::optional<NonDestructible> o2; // expected-error-re@optional:* {{static_assert failed{{.*}} "instantiation of optional with a non-destructible type is ill-formed"}} - std::optional<char[20]> o3; // expected-error-re@optional:* {{static_assert failed{{.*}} "instantiation of optional with an array type is ill-formed"}} + std::optional<NonDestructible> o2; // expected-error-re@optional:* {{static_assert failed{{.*}} "instantiation of optional with a non-destructible type is ill-formed"}} + std::optional<char[20]> o3; // expected-error-re@optional:* {{static_assert failed{{.*}} "instantiation of optional with an array type is ill-formed"}} } { |